From bd1279e4d2335f134f5b44b3991f3d127d8ae37a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Sat, 4 Nov 2017 16:54:03 -0700 Subject: [PATCH] Fixed build. --- tests/thread_test.cpp | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/tests/thread_test.cpp b/tests/thread_test.cpp index 8d09931..bb4ca70 100644 --- a/tests/thread_test.cpp +++ b/tests/thread_test.cpp @@ -6,14 +6,18 @@ #include "test.h" #include -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", "")