Title: [104471] trunk/Source/_javascript_Core
Revision
104471
Author
[email protected]
Date
2012-01-09 11:44:38 -0800 (Mon, 09 Jan 2012)

Log Message

Fix build failure on Solaris
https://bugs.webkit.org/show_bug.cgi?id=75733

Patch by Pavel Heimlich <[email protected]> on 2012-01-09
Reviewed by Gavin Barraclough.

* wtf/ByteArray.h:

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (104470 => 104471)


--- trunk/Source/_javascript_Core/ChangeLog	2012-01-09 19:41:42 UTC (rev 104470)
+++ trunk/Source/_javascript_Core/ChangeLog	2012-01-09 19:44:38 UTC (rev 104471)
@@ -1,3 +1,12 @@
+2012-01-09  Pavel Heimlich  <[email protected]>
+
+        Fix build failure on Solaris
+        https://bugs.webkit.org/show_bug.cgi?id=75733
+
+        Reviewed by Gavin Barraclough.
+
+        * wtf/ByteArray.h:
+
 2012-01-01  Raphael Kubo da Costa  <[email protected]>
 
         [CMake] Clean up some cruft from WTF's CMakeLists.txt

Modified: trunk/Source/_javascript_Core/wtf/ByteArray.h (104470 => 104471)


--- trunk/Source/_javascript_Core/wtf/ByteArray.h	2012-01-09 19:41:42 UTC (rev 104470)
+++ trunk/Source/_javascript_Core/wtf/ByteArray.h	2012-01-09 19:44:38 UTC (rev 104471)
@@ -97,7 +97,7 @@
 // MSVC can't handle correctly unsized array.
 // warning C4200: nonstandard extension used : zero-sized array in struct/union
 // Cannot generate copy-ctor or copy-assignment operator when UDT contains a zero-sized array
-#if COMPILER(MSVC) && !COMPILER(INTEL)
+#if (COMPILER(MSVC)  || COMPILER(SUNCC)) && !COMPILER(INTEL)
         unsigned char m_data[INT_MAX];
 #else
         unsigned char m_data[];
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to