Changeset 90915 in webkit


Ignore:
Timestamp:
Jul 13, 2011 7:11:49 AM (13 years ago)
Author:
andersca@apple.com
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:
Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r90911 r90915  
     12011-07-12  Anders Carlsson  <andersca@apple.com>
     2
     3        If a compiler has nullptr support, include <cstddef> to get the nullptr_t definition
     4        https://bugs.webkit.org/show_bug.cgi?id=64429
     5
     6        Include the cstddef which has the nullptr_t typedef according to the C++0x standard.
     7
     8        * wtf/NullPtr.h:
     9
    1102011-07-13  MORITA Hajime  <morrita@google.com>
    211
  • trunk/Source/JavaScriptCore/wtf/NullPtr.h

    r85521 r90915  
    4040#define HAVE_NULLPTR 1
    4141
     42#include <cstddef>
     43
    4244#else
    4345
Note: See TracChangeset for help on using the changeset viewer.