2 //===--------------------------- cstddef ----------------------------------===//
4 // The LLVM Compiler Infrastructure
6 // This file is dual licensed under the MIT and the University of Illinois Open
7 // Source Licenses. See LICENSE.TXT for details.
9 //===----------------------------------------------------------------------===//
11 #ifndef _LIBCPP_CSTDDEF
12 #define _LIBCPP_CSTDDEF
19 offsetof(type,member-designator)
38 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
39 #pragma GCC system_header
42 // Don't include our own <stddef.h>; we don't want to declare ::nullptr_t.
43 #include_next <stddef.h>
46 _LIBCPP_BEGIN_NAMESPACE_STD
51 #if defined(__CLANG_MAX_ALIGN_T_DEFINED) || defined(_GCC_MAX_ALIGN_T)
52 // Re-use the compiler's <stddef.h> max_align_t where possible.
55 typedef long double max_align_t;
58 _LIBCPP_END_NAMESPACE_STD
60 #endif // _LIBCPP_CSTDDEF