Title: [106295] trunk/Source/_javascript_Core
Revision
106295
Author
[email protected]
Date
2012-01-30 15:35:01 -0800 (Mon, 30 Jan 2012)

Log Message

Using OS(WIN) or OS(MAC) should cause a build error.
https://bugs.webkit.org/show_bug.cgi?id=77162

Reviewed by Darin Adler.

* wtf/Platform.h: Expand them into something that will
 cause a compile error.

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (106294 => 106295)


--- trunk/Source/_javascript_Core/ChangeLog	2012-01-30 23:16:11 UTC (rev 106294)
+++ trunk/Source/_javascript_Core/ChangeLog	2012-01-30 23:35:01 UTC (rev 106295)
@@ -1,3 +1,13 @@
+2012-01-30  David Levin  <[email protected]>
+
+        Using OS(WIN) or OS(MAC) should cause a build error.
+        https://bugs.webkit.org/show_bug.cgi?id=77162
+
+        Reviewed by Darin Adler.
+
+        * wtf/Platform.h: Expand them into something that will
+         cause a compile error.
+
 2012-01-30  Yong Li  <[email protected]>
 
         [BlackBerry] OS(QNX) also has TM_GMTOFF, TM_ZONE, and TIMEGM

Modified: trunk/Source/_javascript_Core/wtf/Platform.h (106294 => 106295)


--- trunk/Source/_javascript_Core/wtf/Platform.h	2012-01-30 23:16:11 UTC (rev 106294)
+++ trunk/Source/_javascript_Core/wtf/Platform.h	2012-01-30 23:35:01 UTC (rev 106295)
@@ -386,6 +386,9 @@
 #define WTF_OS_WINDOWS 1
 #endif
 
+#define WTF_OS_WIN ERROR "USE WINDOWS WITH OS NOT WIN"
+#define WTF_OS_MAC ERROR "USE MAC_OS_X WITH OS NOT MAC"
+
 /* OS(UNIX) - Any Unix-like system */
 #if   OS(AIX)              \
     || OS(ANDROID)          \
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to