aboutsummaryrefslogtreecommitdiff
path: root/libcxx/include/stddef.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/include/stddef.h')
-rw-r--r--libcxx/include/stddef.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/libcxx/include/stddef.h b/libcxx/include/stddef.h
index 46bed2a..e9e259d 100644
--- a/libcxx/include/stddef.h
+++ b/libcxx/include/stddef.h
@@ -25,24 +25,24 @@ Types:
*/
#if defined(__cplusplus) && __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
-# include <__cxx03/stddef.h>
+# include <__cxx03/__config>
#else
# include <__config>
+#endif
-# if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
-# pragma GCC system_header
-# endif
+#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
+# pragma GCC system_header
+#endif
// Note: This include is outside of header guards because we sometimes get included multiple times
// with different defines and the underlying <stddef.h> will know how to deal with that.
-# include_next <stddef.h>
+#include_next <stddef.h>
-# ifndef _LIBCPP_STDDEF_H
-# define _LIBCPP_STDDEF_H
+#ifndef _LIBCPP_STDDEF_H
+# define _LIBCPP_STDDEF_H
-# ifdef __cplusplus
+# ifdef __cplusplus
typedef decltype(nullptr) nullptr_t;
-# endif
-# endif // defined(__cplusplus) && __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
+# endif
#endif // _LIBCPP_STDDEF_H