@@ -22,93 +22,93 @@ module SwiftWASILibc [system] {
2222 // C standard library
2323 module C {
2424 module ctype {
25- header "${GLIBC_INCLUDE_PATH }/ctype.h"
25+ header "${LIBC_INCLUDE_PATH }/ctype.h"
2626 export *
2727 }
2828 module errno {
29- header "${GLIBC_INCLUDE_PATH }/errno.h"
29+ header "${LIBC_INCLUDE_PATH }/errno.h"
3030 export *
3131 }
3232
3333 module fenv {
34- header "${GLIBC_INCLUDE_PATH }/fenv.h"
34+ header "${LIBC_INCLUDE_PATH }/fenv.h"
3535 export *
3636 }
3737
3838 // note: supplied by compiler
3939 // module float {
40- // header "${GLIBC_INCLUDE_PATH }/float.h"
40+ // header "${LIBC_INCLUDE_PATH }/float.h"
4141 // export *
4242 // }
4343
4444 module inttypes {
45- header "${GLIBC_INCLUDE_PATH }/inttypes.h"
45+ header "${LIBC_INCLUDE_PATH }/inttypes.h"
4646 export *
4747 }
4848
4949 // note: potentially supplied by compiler
5050 // module iso646 {
51- // header "${GLIBC_INCLUDE_PATH }/iso646.h"
51+ // header "${LIBC_INCLUDE_PATH }/iso646.h"
5252 // export *
5353 // }
5454 // module limits {
55- // header "${GLIBC_INCLUDE_PATH }/limits.h"
55+ // header "${LIBC_INCLUDE_PATH }/limits.h"
5656 // export *
5757 // }
5858
5959 module locale {
60- header "${GLIBC_INCLUDE_PATH }/locale.h"
60+ header "${LIBC_INCLUDE_PATH }/locale.h"
6161 export *
6262 }
6363 module math {
64- header "${GLIBC_INCLUDE_PATH }/math.h"
64+ header "${LIBC_INCLUDE_PATH }/math.h"
6565 export *
6666 }
6767 module signal {
68- header "${GLIBC_INCLUDE_PATH }/signal.h"
68+ header "${LIBC_INCLUDE_PATH }/signal.h"
6969 export *
7070 }
7171
7272 // note: supplied by the compiler
7373 // module stdarg {
74- // header "${GLIBC_INCLUDE_PATH }/stdarg.h"
74+ // header "${LIBC_INCLUDE_PATH }/stdarg.h"
7575 // export *
7676 // }
7777 // module stdbool {
78- // header "${GLIBC_INCLUDE_PATH }/stdbool.h"
78+ // header "${LIBC_INCLUDE_PATH }/stdbool.h"
7979 // export *
8080 // }
8181 // module stddef {
82- // header "${GLIBC_INCLUDE_PATH }/stddef.h"
82+ // header "${LIBC_INCLUDE_PATH }/stddef.h"
8383 // export *
8484 // }
8585 // module stdint {
86- // header "${GLIBC_INCLUDE_PATH }/stdint.h"
86+ // header "${LIBC_INCLUDE_PATH }/stdint.h"
8787 // export *
8888 // }
8989
9090 module stdio {
91- header "${GLIBC_INCLUDE_PATH }/stdio.h"
91+ header "${LIBC_INCLUDE_PATH }/stdio.h"
9292 export *
9393 }
9494 module stdlib {
95- header "${GLIBC_INCLUDE_PATH }/stdlib.h"
95+ header "${LIBC_INCLUDE_PATH }/stdlib.h"
9696 export *
9797 export stddef
9898 }
9999 module string {
100- header "${GLIBC_INCLUDE_PATH }/string.h"
100+ header "${LIBC_INCLUDE_PATH }/string.h"
101101 export *
102102 }
103103
104104 // note: supplied by the compiler
105105 // explicit module tgmath {
106- // header "${GLIBC_INCLUDE_PATH }/tgmath.h"
106+ // header "${LIBC_INCLUDE_PATH }/tgmath.h"
107107 // export *
108108 // }
109109
110110 module time {
111- header "${GLIBC_INCLUDE_PATH }/time.h"
111+ header "${LIBC_INCLUDE_PATH }/time.h"
112112 export *
113113 }
114114 }
@@ -117,114 +117,114 @@ module SwiftWASILibc [system] {
117117 module POSIX {
118118 module arpa {
119119 module inet {
120- header "${GLIBC_INCLUDE_PATH }/arpa/inet.h"
120+ header "${LIBC_INCLUDE_PATH }/arpa/inet.h"
121121 export *
122122 }
123123 export *
124124 }
125125 module dirent {
126- header "${GLIBC_INCLUDE_PATH }/dirent.h"
126+ header "${LIBC_INCLUDE_PATH }/dirent.h"
127127 export *
128128 }
129129 module fcntl {
130- header "${GLIBC_INCLUDE_PATH }/fcntl.h"
130+ header "${LIBC_INCLUDE_PATH }/fcntl.h"
131131 export *
132132 }
133133 module fnmatch {
134- header "${GLIBC_INCLUDE_PATH }/fnmatch.h"
134+ header "${LIBC_INCLUDE_PATH }/fnmatch.h"
135135 export *
136136 }
137137 module ioctl {
138- header "${GLIBC_ARCH_INCLUDE_PATH }/sys/ioctl.h"
138+ header "${LIBC_ARCH_INCLUDE_PATH }/sys/ioctl.h"
139139 export *
140140 }
141141 module libgen {
142- header "${GLIBC_INCLUDE_PATH }/libgen.h"
142+ header "${LIBC_INCLUDE_PATH }/libgen.h"
143143 export *
144144 }
145145 module netinet {
146146 module in {
147- header "${GLIBC_INCLUDE_PATH }/netinet/in.h"
147+ header "${LIBC_INCLUDE_PATH }/netinet/in.h"
148148 export *
149149
150- exclude header "${GLIBC_INCLUDE_PATH }/netinet6/in6.h"
150+ exclude header "${LIBC_INCLUDE_PATH }/netinet6/in6.h"
151151 }
152152 module tcp {
153- header "${GLIBC_INCLUDE_PATH }/netinet/tcp.h"
153+ header "${LIBC_INCLUDE_PATH }/netinet/tcp.h"
154154 export *
155155 }
156156 }
157157 module poll {
158- header "${GLIBC_INCLUDE_PATH }/poll.h"
158+ header "${LIBC_INCLUDE_PATH }/poll.h"
159159 export *
160160 }
161161 module regex {
162- header "${GLIBC_INCLUDE_PATH }/regex.h"
162+ header "${LIBC_INCLUDE_PATH }/regex.h"
163163 export *
164164 }
165165 module sched {
166- header "${GLIBC_INCLUDE_PATH }/sched.h"
166+ header "${LIBC_INCLUDE_PATH }/sched.h"
167167 export *
168168 }
169169 module semaphore {
170- header "${GLIBC_INCLUDE_PATH }/semaphore.h"
170+ header "${LIBC_INCLUDE_PATH }/semaphore.h"
171171 export *
172172 }
173173 module strings {
174- header "${GLIBC_INCLUDE_PATH }/strings.h"
174+ header "${LIBC_INCLUDE_PATH }/strings.h"
175175 export *
176176 }
177177
178178 module sys {
179179 export *
180180
181181 module mman {
182- header "${GLIBC_ARCH_INCLUDE_PATH }/sys/mman.h"
182+ header "${LIBC_ARCH_INCLUDE_PATH }/sys/mman.h"
183183 export *
184184 }
185185 module resource {
186- header "${GLIBC_ARCH_INCLUDE_PATH }/sys/resource.h"
186+ header "${LIBC_ARCH_INCLUDE_PATH }/sys/resource.h"
187187 export *
188188 }
189189 module select {
190- header "${GLIBC_ARCH_INCLUDE_PATH }/sys/select.h"
190+ header "${LIBC_ARCH_INCLUDE_PATH }/sys/select.h"
191191 export *
192192 }
193193 module socket {
194- header "${GLIBC_ARCH_INCLUDE_PATH }/sys/socket.h"
194+ header "${LIBC_ARCH_INCLUDE_PATH }/sys/socket.h"
195195 export *
196196 }
197197 module stat {
198- header "${GLIBC_ARCH_INCLUDE_PATH }/sys/stat.h"
198+ header "${LIBC_ARCH_INCLUDE_PATH }/sys/stat.h"
199199 export *
200200 }
201201 module time {
202- header "${GLIBC_ARCH_INCLUDE_PATH }/sys/time.h"
202+ header "${LIBC_ARCH_INCLUDE_PATH }/sys/time.h"
203203 export *
204204 }
205205 module times {
206- header "${GLIBC_ARCH_INCLUDE_PATH }/sys/times.h"
206+ header "${LIBC_ARCH_INCLUDE_PATH }/sys/times.h"
207207 export *
208208 }
209209 module types {
210- header "${GLIBC_ARCH_INCLUDE_PATH }/sys/types.h"
210+ header "${LIBC_ARCH_INCLUDE_PATH }/sys/types.h"
211211 export *
212212 }
213213 module uio {
214- header "${GLIBC_ARCH_INCLUDE_PATH }/sys/uio.h"
214+ header "${LIBC_ARCH_INCLUDE_PATH }/sys/uio.h"
215215 export *
216216 }
217217 module un {
218- header "${GLIBC_ARCH_INCLUDE_PATH }/sys/un.h"
218+ header "${LIBC_ARCH_INCLUDE_PATH }/sys/un.h"
219219 export *
220220 }
221221 module utsname {
222- header "${GLIBC_ARCH_INCLUDE_PATH }/sys/utsname.h"
222+ header "${LIBC_ARCH_INCLUDE_PATH }/sys/utsname.h"
223223 export *
224224 }
225225 }
226226 module unistd {
227- header "${GLIBC_INCLUDE_PATH }/unistd.h"
227+ header "${LIBC_INCLUDE_PATH }/unistd.h"
228228 export *
229229 }
230230 }
0 commit comments