Elliott Hughes | 13da600 | 2025-02-03 10:42:13 -0800 | [diff] [blame] | 1 | // Copyright (C) 2017 The Android Open Source Project |
2 | // SPDX-License-Identifier: BSD-2-Clause | ||||
Elliott Hughes | 21b56eb | 2017-10-20 17:57:17 -0700 | [diff] [blame] | 3 | |
4 | #include <stddef.h> | ||||
5 | |||||
6 | #include "header_checks.h" | ||||
7 | |||||
8 | static void stddef_h() { | ||||
9 | void* null = NULL; | ||||
10 | |||||
11 | #if !defined(offsetof) | ||||
12 | #error offsetof | ||||
13 | #endif | ||||
14 | |||||
15 | TYPE(ptrdiff_t); | ||||
16 | TYPE(wchar_t); | ||||
17 | TYPE(size_t); | ||||
18 | } |