Title: [90915] trunk/Source/_javascript_Core
Revision
90915
Author
[email protected]
Date
2011-07-13 07:11:49 -0700 (Wed, 13 Jul 2011)

Log Message

If a compiler has nullptr support, include <cstddef> to get the nullptr_t definition
https://bugs.webkit.org/show_bug.cgi?id=64429

Include the cstddef which has the nullptr_t typedef according to the C++0x standard.

* wtf/NullPtr.h:

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (90914 => 90915)


--- trunk/Source/_javascript_Core/ChangeLog	2011-07-13 14:11:14 UTC (rev 90914)
+++ trunk/Source/_javascript_Core/ChangeLog	2011-07-13 14:11:49 UTC (rev 90915)
@@ -1,3 +1,12 @@
+2011-07-12  Anders Carlsson  <[email protected]>
+
+        If a compiler has nullptr support, include <cstddef> to get the nullptr_t definition
+        https://bugs.webkit.org/show_bug.cgi?id=64429
+
+        Include the cstddef which has the nullptr_t typedef according to the C++0x standard.
+
+        * wtf/NullPtr.h:
+
 2011-07-13  MORITA Hajime  <[email protected]>
 
         Refactoring: Ignored ExceptionCode value should be less annoying.

Modified: trunk/Source/_javascript_Core/wtf/NullPtr.h (90914 => 90915)


--- trunk/Source/_javascript_Core/wtf/NullPtr.h	2011-07-13 14:11:14 UTC (rev 90914)
+++ trunk/Source/_javascript_Core/wtf/NullPtr.h	2011-07-13 14:11:49 UTC (rev 90915)
@@ -39,6 +39,8 @@
 
 #define HAVE_NULLPTR 1
 
+#include <cstddef>
+
 #else
 
 namespace std {
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to