X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1fcfb40de30f593c4a5258d66825c47d1fc7c7d5..e85d194d55d4d3228bbc06a53d0765a1e4e5566b:/src/unix/threadpsx.cpp diff --git a/src/unix/threadpsx.cpp b/src/unix/threadpsx.cpp index 50278f17ae..e10fe97e82 100644 --- a/src/unix/threadpsx.cpp +++ b/src/unix/threadpsx.cpp @@ -928,9 +928,17 @@ int wxThread::GetCPUCount() return -1; } +#ifdef __VMS + // VMS is a 64 bit system and threads have 64 bit pointers. + // ??? also needed for other systems???? +unsigned long long wxThread::GetCurrentId() +{ + return (unsigned long long)pthread_self(); +#else unsigned long wxThread::GetCurrentId() { return (unsigned long)pthread_self(); +#endif } bool wxThread::SetConcurrency(size_t level)