File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
libc/include/llvm-libc-macros Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 99#ifndef LLVM_LIBC_INCLUDE_LLVM_LIBC_MACROS_ANNEX_K_MACROS_H
1010#define LLVM_LIBC_INCLUDE_LLVM_LIBC_MACROS_ANNEX_K_MACROS_H
1111
12+ #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) || \
13+ (defined (__cplusplus) && __cplusplus >= 201703L )
14+
1215#define __STDC_LIB_EXT1__ 200509L
1316
1417#if defined(__STDC_WANT_LIB_EXT1__) && __STDC_WANT_LIB_EXT1__ == 1
1518
1619#define LIBC_HAS_ANNEX_K
1720
18- #endif
21+ #endif // defined(__STDC_WANT_LIB_EXT1__) && __STDC_WANT_LIB_EXT1__ == 1
1922
23+ #endif // (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L) ||
24+ // (defined(__cplusplus) && __cplusplus >= 201703L)
2025#endif // LLVM_LIBC_INCLUDE_LLVM_LIBC_MACROS_ANNEX_K_MACROS_H
You can’t perform that action at this time.
0 commit comments