Title: [105943] trunk/Source/_javascript_Core
Revision
105943
Author
[email protected]
Date
2012-01-25 16:48:04 -0800 (Wed, 25 Jan 2012)

Log Message

Attempted Mac build fix after r105939.

* runtime/DatePrototype.cpp: Don't #include unicode/udat.h on Mac or iOS.
It isn't used on these platforms and isn't available in the ICU headers
for Mac.

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (105942 => 105943)


--- trunk/Source/_javascript_Core/ChangeLog	2012-01-26 00:34:15 UTC (rev 105942)
+++ trunk/Source/_javascript_Core/ChangeLog	2012-01-26 00:48:04 UTC (rev 105943)
@@ -1,5 +1,13 @@
 2012-01-25  Mark Rowe  <[email protected]>
 
+        Attempted Mac build fix after r105939.
+
+        * runtime/DatePrototype.cpp: Don't #include unicode/udat.h on Mac or iOS.
+        It isn't used on these platforms and isn't available in the ICU headers
+        for Mac.
+
+2012-01-25  Mark Rowe  <[email protected]>
+
         Build in to an alternate location when USE_STAGING_INSTALL_PATH is set.
 
         <rdar://problem/10609417> Adopt USE_STAGING_INSTALL_PATH

Modified: trunk/Source/_javascript_Core/runtime/DatePrototype.cpp (105942 => 105943)


--- trunk/Source/_javascript_Core/runtime/DatePrototype.cpp	2012-01-26 00:34:15 UTC (rev 105942)
+++ trunk/Source/_javascript_Core/runtime/DatePrototype.cpp	2012-01-26 00:48:04 UTC (rev 105943)
@@ -62,9 +62,7 @@
 
 #if PLATFORM(MAC) || PLATFORM(IOS)
 #include <CoreFoundation/CoreFoundation.h>
-#endif
-
-#if USE(ICU_UNICODE)
+#elif USE(ICU_UNICODE)
 #include <unicode/udat.h>
 #endif
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to