]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/threadpsx.cpp
removed all resources that are not needed anymore
[wxWidgets.git] / src / unix / threadpsx.cpp
index 50278f17aecf9f14b99dfbe341be74801c13ae89..e10fe97e82d98353f1d127f6e71afc17424e06d8 100644 (file)
@@ -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)