Преглед изворни кода

Fix: incorporate added bb_thread_t typedef

Ronny Otto пре 10 месеци
родитељ
комит
2c068e0e26
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      steamsdk.mod/glue/glue.cpp

+ 2 - 2
steamsdk.mod/glue/glue.cpp

@@ -380,9 +380,9 @@ public:
         th = std::thread([=]() {
         th = std::thread([=]() {
 
 
 #ifdef _WIN32
 #ifdef _WIN32
-			auto nativeThread = ::GetCurrentThreadId();
+			bb_thread_t nativeThread = ::GetCurrentThreadId();
 #else
 #else
-			void * nativeThread = (void*)pthread_self();
+			bb_thread_t nativeThread = pthread_self();
 #endif
 #endif
 			bbThread = bbThreadRegister(nativeThread);
 			bbThread = bbThreadRegister(nativeThread);