Title: [94872] trunk/Source/_javascript_Core
Revision
94872
Author
gga...@apple.com
Date
2011-09-09 13:42:06 -0700 (Fri, 09 Sep 2011)

Log Message

2011-09-09  Geoffrey Garen  <gga...@apple.com>

        Build fix: Guard against double-#define for something already #defined
        by the build system.

        * wtf/Platform.h:

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (94871 => 94872)


--- trunk/Source/_javascript_Core/ChangeLog	2011-09-09 19:44:54 UTC (rev 94871)
+++ trunk/Source/_javascript_Core/ChangeLog	2011-09-09 20:42:06 UTC (rev 94872)
@@ -1,5 +1,12 @@
 2011-09-09  Geoffrey Garen  <gga...@apple.com>
 
+        Build fix: Guard against double-#define for something already #defined
+        by the build system.
+
+        * wtf/Platform.h:
+
+2011-09-09  Geoffrey Garen  <gga...@apple.com>
+
         Reviewed by Dan Bernstein.
 
         Never #define ENABLE_SINGLE_THREADED, !ENABLE_JSC_MULTIPLE_THREADS, or

Modified: trunk/Source/_javascript_Core/wtf/Platform.h (94871 => 94872)


--- trunk/Source/_javascript_Core/wtf/Platform.h	2011-09-09 19:44:54 UTC (rev 94871)
+++ trunk/Source/_javascript_Core/wtf/Platform.h	2011-09-09 20:42:06 UTC (rev 94872)
@@ -509,8 +509,13 @@
 #define WTF_USE_PTHREAD_BASED_QT 1
 #endif
 
+#if !defined(ENABLE_JSC_MULTIPLE_THREADS)
 #define ENABLE_JSC_MULTIPLE_THREADS 1
+#endif
+
+#if !defined(ENABLE_WTF_MULTIPLE_THREADS)
 #define ENABLE_WTF_MULTIPLE_THREADS 1
+#endif
 
 /* On Windows, use QueryPerformanceCounter by default */
 #if OS(WINDOWS)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to