media/sphinxbase/sbthread.patch
author Michael Layzell <michael@thelayzells.com>
Fri, 06 May 2016 15:08:58 -0400
changeset 298153 e96398029a1c6c0683466f9b0f2afa214be79a75
parent 247391 30c3929cef76c68d69083cef120d33000819ae3c
permissions -rw-r--r--
Bug 1181073 - Relax setTimeout throttling for background tabs using web audio, r=bkelly

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 {