From: Lars Op den Kamp Date: Thu, 17 May 2012 12:30:19 +0000 (+0200) Subject: platform: fix win32 compilation error X-Git-Tag: upstream/2.2.0~1^2~25^2 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=6b567d1fa9db2009bbeaf6d355bdd0438a4eeca0;p=deb_libcec.git platform: fix win32 compilation error --- diff --git a/src/lib/platform/windows/os-threads.h b/src/lib/platform/windows/os-threads.h index ff773f0..47101dc 100644 --- a/src/lib/platform/windows/os-threads.h +++ b/src/lib/platform/windows/os-threads.h @@ -34,7 +34,7 @@ namespace PLATFORM { #define thread_t HANDLE - #define INVALID_THREAD_VALUE INVALID_HANDLE + #define INVALID_THREAD_VALUE NULL #define ThreadsWait(thread, retVal) (::WaitForSingleObject(thread, INFINITE) < 0) #define ThreadsCreate(thread, func, arg) ((thread = ::CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)func, arg, 0, NULL)) == NULL ? false : true)