Browse Source

Fixed [support.types]. <cstddef> wasn't definining NULL or offsetof.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@104982 91177308-0d34-0410-b5e6-96231b3b80d8
Howard Hinnant 15 years ago
parent
commit
e056924cd2
1 changed files with 2 additions and 0 deletions
  1. 2 0
      include/cstddef

+ 2 - 0
include/cstddef

@@ -34,9 +34,11 @@ Types:
 */
 
 #include <__config>
+#define __need_NULL
 #define __need_ptrdiff_t
 #define __need_size_t
 #include <stddef.h>
+#include <stddef.h>
 
 #pragma GCC system_header