Explorar el Código

Tests: Fix thread_wrapper on MinGW

Julius Pfrommer hace 5 años
padre
commit
1f686ae360
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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