Эх сурвалжийг харах

for Ubuntu

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@105338 91177308-0d34-0410-b5e6-96231b3b80d8
Howard Hinnant 15 жил өмнө
parent
commit
ed30e070ac
1 өөрчлөгдсөн 7 нэмэгдсэн , 0 устгасан
  1. 7 0
      include/cstddef

+ 7 - 0
include/cstddef

@@ -34,6 +34,13 @@ Types:
 */
 */
 
 
 #include <__config>
 #include <__config>
+
+#ifdef __GLIBC__
+#define __need_NULL
+#define __need_ptrdiff_t
+#define __need_size_t
+#endif
+
 #include <stddef.h>
 #include <stddef.h>
 
 
 #pragma GCC system_header
 #pragma GCC system_header