-
Notifications
You must be signed in to change notification settings - Fork 2k
Expand file tree
/
Copy pathgcc492.c
More file actions
38 lines (32 loc) · 846 Bytes
/
gcc492.c
File metadata and controls
38 lines (32 loc) · 846 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#if defined(__has_include)
static int has_include = 1;
#else
static int has_include = 0;
#endif
#if __has_include("bar.h")
static int has_present_include = 1;
#else
static int has_present_include = 0;
#endif
#define BAR "bar.h"
#if __has_include(BAR)
static int has_macro_include = 1;
#else
static int has_macro_include = 0;
#endif
#if __has_include("foo.h")
static int has_missing_include = 1;
#else
static int has_missing_include = 0;
#endif
#if __has_include_next("foo.h")
static int has_missing_include_next = 1;
#else
static int has_missing_include_next = 0;
#endif
#if __has_include(<foo.h>)
static int has_missing_system_include = 1;
#else
static int has_missing_system_include = 0;
#endif
// semmle-extractor-options: --gnu_version 40902 -D__has_include(STR)=__has_include__(STR) -D__has_include_next(STR)=__has_include_next__(STR)