summaryrefslogtreecommitdiff
path: root/media/sphinxbase/sbthread.patch
blob: b2ce9457b403c5ba4bd3db23624f02ce4af7f47b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git b/src/libsphinxbase/util/sbthread.c a/src/libsphinxbase/util/sbthread.c
index 14207cb..2f82c76 100644
--- b/src/libsphinxbase/util/sbthread.c
+++ a/src/libsphinxbase/util/sbthread.c
@@ -51,7 +51,9 @@
  * Platform-specific parts: threads, mutexes, and signals.
  */
 #if (defined(_WIN32) || defined(__CYGWIN__)) && !defined(__SYMBIAN32__)
+#ifndef _WIN32_WINNT
 #define _WIN32_WINNT 0x0400
+#endif /* not _WIN32_WINNT */
 #include <windows.h>
 
 struct sbthread_s {