Browse Source

windows.h

David Rose 18 years ago
parent
commit
bbbf92bc24
1 changed files with 5 additions and 0 deletions
  1. 5 0
      panda/src/pipeline/threadDummyImpl.h

+ 5 - 0
panda/src/pipeline/threadDummyImpl.h

@@ -29,6 +29,11 @@
 
 class Thread;
 
+#ifdef WIN32
+#define WIN32_LEAN_AND_MEAN
+#include <windows.h>  // For Sleep().
+#endif
+
 ////////////////////////////////////////////////////////////////////
 //       Class : ThreadDummyImpl
 // Description : A fake thread implementation for single-threaded