Debian Codegraph @

android/app/jni/extern/macports-legacy-support/include/assert.h

raw
1
2 /* Include the primary system assert.h */
3 #include_next <assert.h>
4
5
6 /* now add the missing definition of static_assert for C11 code, added to the 10.11 SDK. */
7 /* if a newer assert.h header has already done this in a modern SDK, then */
8 /* _ASSERT_H_ will be defined and will block this */
9
10 #ifndef _ASSERT_H_
11 #define _ASSERT_H_
12
13 #ifndef __cplusplus
14 #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
15 #define static_assert _Static_assert
16 #endif /* __STDC_VERSION__ */
17 #endif /* !__cplusplus */
18
19 #endif /* _ASSERT_H_ */