Browse Source

Tests: Fix thread_wrapper on MinGW

Julius Pfrommer 4 years ago
parent
commit
1f686ae360
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/testing-plugins/thread_wrapper.h

+ 1 - 1
tests/testing-plugins/thread_wrapper.h

@@ -21,7 +21,7 @@
 #define THREAD_JOIN(handle) WaitForSingleObject(handle, INFINITE)
 
 
-#define THREAD_CALLBACK(name) DWORD WINAPI name( LPVOID lpParam )
+#define THREAD_CALLBACK(name) static DWORD WINAPI name( LPVOID lpParam )
 
 #endif