2 //===----------------------------------------------------------------------===//
4 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // See https://llvm.org/LICENSE.txt for license information.
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 //===----------------------------------------------------------------------===//
15 offsetof(type,member-designator)
29 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
30 # pragma GCC system_header
33 // Note: This include is outside of header guards because we sometimes get included multiple times
34 // with different defines and the underlying <stddef.h> will know how to deal with that.
35 #include_next <stddef.h>
37 #ifndef _LIBCPP_STDDEF_H
38 # define _LIBCPP_STDDEF_H
41 typedef decltype(nullptr) nullptr_t
;
44 #endif // _LIBCPP_STDDEF_H