Browse Source

Fixed build.

Branimir Karadžić 8 years ago
parent
commit
bd1279e4d2
1 changed files with 8 additions and 4 deletions
  1. 8 4
      tests/thread_test.cpp

+ 8 - 4
tests/thread_test.cpp

@@ -6,14 +6,18 @@
 #include "test.h"
 #include "test.h"
 #include <bx/thread.h>
 #include <bx/thread.h>
 
 
-int32_t threadExit0(void*)
+int32_t threadExit0(bx::Thread* _thread, void*)
 {
 {
-	return 0;
+	BX_UNUSED(_thread);
+
+	return bx::kExitSuccess;
 }
 }
 
 
-int32_t threadExit1(void*)
+int32_t threadExit1(bx::Thread* _thread, void*)
 {
 {
-	return 1;
+	BX_UNUSED(_thread);
+
+	return bx::kExitFailure;
 }
 }
 
 
 TEST_CASE("thread", "")
 TEST_CASE("thread", "")