[cfe-commits] [libcxx] r105338 - /libcxx/trunk/include/cstddef

Howard Hinnant hhinnant at apple.com
Wed Jun 2 11:53:22 PDT 2010


Author: hhinnant
Date: Wed Jun  2 13:53:22 2010
New Revision: 105338

URL: http://llvm.org/viewvc/llvm-project?rev=105338&view=rev
Log:
for Ubuntu

Modified:
    libcxx/trunk/include/cstddef

Modified: libcxx/trunk/include/cstddef
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/cstddef?rev=105338&r1=105337&r2=105338&view=diff
==============================================================================
--- libcxx/trunk/include/cstddef (original)
+++ libcxx/trunk/include/cstddef Wed Jun  2 13:53:22 2010
@@ -34,6 +34,13 @@
 */
 
 #include <__config>
+
+#ifdef __GLIBC__
+#define __need_NULL
+#define __need_ptrdiff_t
+#define __need_size_t
+#endif
+
 #include <stddef.h>
 
 #pragma GCC system_header





More information about the cfe-commits mailing list