-
Notifications
You must be signed in to change notification settings - Fork 10.4k
/
Copy pathSwiftGlibc.h.gyb
108 lines (105 loc) · 1.49 KB
/
SwiftGlibc.h.gyb
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
%{
headers = [
'stdc-predef.h',
'features.h',
# C standard library
'complex.h',
'ctype.h',
'errno.h',
'fenv.h',
'float.h',
'inttypes.h',
'iso646.h',
'libutil.h',
'limits.h',
'locale.h',
'math.h',
'pty.h',
'setjmp.h',
'signal.h',
'stdarg.h',
'stdbool.h',
'stddef.h',
'stdint.h',
'stdio.h',
'stdlib.h',
'string.h',
'tgmath.h',
'time.h',
'util.h',
'utmp.h',
# POSIX
'aio.h',
'arpa/inet.h',
'bsd/ifaddrs.h',
'bsd/pty.h',
'cpio.h',
'dirent.h',
'dlfcn.h',
'fcntl.h',
'fmtmsg.h',
'fnmatch.h',
'ftw.h',
'glob.h',
'grp.h',
'iconv.h',
'ifaddrs.h',
'langinfo.h',
'libgen.h',
'link.h',
'monetary.h',
'net/if.h',
'netdb.h',
'netinet/in.h',
'netinet/tcp.h',
'nl_types.h',
'poll.h',
'pthread.h',
'pwd.h',
'regex.h',
'sched.h',
'search.h',
'semaphore.h',
'spawn.h',
'strings.h',
'sys/event.h',
'sys/file.h',
'sys/inotify.h',
'sys/ioctl.h',
'sys/ipc.h',
'sys/mman.h',
'sys/mount.h',
'sys/msg.h',
'sys/resource.h',
'sys/select.h',
'sys/sem.h',
'sys/sendfile.h',
'sys/shm.h',
'sys/socket.h',
'sys/stat.h',
'sys/statvfs.h',
'sys/time.h',
'sys/times.h',
'sys/types.h',
'sys/uio.h',
'sys/un.h',
'sys/user.h',
'sys/utsname.h',
'sys/wait.h',
'sysexits.h',
'syslog.h',
'tar.h',
'termios.h',
'ulimit.h',
'unistd.h',
'utime.h',
'utmpx.h',
'wait.h',
'wordexp.h',
]
}%
% for header in headers:
#if __has_include(<${header}>)
#include <${header}>
#endif
% end