From 94cb2ee9a125e04d8bf875a14903e7a584e9ec9d Mon Sep 17 00:00:00 2001 From: Stephane Letz Date: Tue, 20 Mar 2012 18:40:59 +0100 Subject: [PATCH] Compiles again on Windows. --- tests/test.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test.cpp b/tests/test.cpp index 438d3c1f..95ae88ad 100644 --- a/tests/test.cpp +++ b/tests/test.cpp @@ -163,7 +163,11 @@ void Collect(FrameTimeCollector* TheFrame) void Jack_Thread_Init_Callback(void *arg) { +#ifdef WIN32 + Log("Init callback has been successfully called from thread = %x. (msg from callback)\n", GetCurrentThread()); +#else Log("Init callback has been successfully called from thread = %x. (msg from callback)\n", pthread_self()); +#endif init_clbk = 1; }