소스 검색

Merge pull request #5 from GWRon/fix_threadadjustments

Fix: incorporate added bb_thread_t typedef
Brucey 9 달 전
부모
커밋
21a97fc32a
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);