| //===----------------------------------------------------------------------===// |
| // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| // See https://llvm.org/LICENSE.txt for license information. |
| // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| //===----------------------------------------------------------------------===// |
| offsetof(type,member-designator) |
| # error <cstddef> tried including <stddef.h> but didn't find libc++'s <stddef.h> header. \ |
| This usually means that your header search paths are not configured properly. \ |
| The header search paths should contain the C++ Standard Library headers before \ |
| any C Standard Library, and you are probably using compiler flags that make that \ |
| #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) |
| # pragma GCC system_header |
| #include <__cstddef/byte.h> |
| #include <__cstddef/max_align_t.h> |
| #include <__cstddef/nullptr_t.h> |
| #include <__cstddef/ptrdiff_t.h> |
| #include <__cstddef/size_t.h> |
| #endif // _LIBCPP_CSTDDEF |