Browse Source

pipeline: fix compilation error on Windows with simple threading

rdb 5 years ago
parent
commit
e4819f2b5c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/pipeline/contextSwitch.c

+ 1 - 1
panda/src/pipeline/contextSwitch.c

@@ -23,7 +23,7 @@
    using OS-provided threading constructs.  This is via either Windows
    or Posix threads. */
 
-#if defined(WIN32) && defined(OS_SIMPLE_THREADS)
+#if defined(_WIN32) && defined(OS_SIMPLE_THREADS)
 
 #include "contextSwitch_windows_src.c"