Merge branch 'master' into release
[deb_libcec.git] / src / lib / platform / windows / os-threads.h
index 3714c16711950919edd768708e5d2cee4fa48594..091e962faf39bfb46303d3b81acc61ecc6b60c99 100644 (file)
  *     http://www.pulse-eight.net/
  */
 
+#include <stdint.h>
+
 namespace PLATFORM
 {
   #define thread_t                                 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)