File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
llvm/utils/gn/secondary/llvm/include/llvm/Config Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -213,7 +213,6 @@ write_cmake_config("config") {
213
213
" HAVE_SIGALTSTACK=" ,
214
214
" HAVE_STRERROR_R=" ,
215
215
" HAVE_SYSCONF=" ,
216
- " HAVE_SYSEXITS_H=" ,
217
216
" HAVE_SYS_IOCTL_H=" ,
218
217
" HAVE_SYS_MMAN_H=" ,
219
218
" HAVE_SYS_PARAM_H=" ,
@@ -250,7 +249,6 @@ write_cmake_config("config") {
250
249
" HAVE_SIGALTSTACK=1" ,
251
250
" HAVE_STRERROR_R=1" ,
252
251
" HAVE_SYSCONF=1" ,
253
- " HAVE_SYSEXITS_H=1" ,
254
252
" HAVE_SYS_IOCTL_H=1" ,
255
253
" HAVE_SYS_MMAN_H=1" ,
256
254
" HAVE_SYS_PARAM_H=1" ,
@@ -339,9 +337,15 @@ write_cmake_config("llvm-config") {
339
337
]
340
338
341
339
if (current_os == " win" ) {
342
- values += [ " LLVM_ON_UNIX=" ]
340
+ values += [
341
+ " HAVE_SYSEXITS_H=" ,
342
+ " LLVM_ON_UNIX=" ,
343
+ ]
343
344
} else {
344
- values += [ " LLVM_ON_UNIX=1" ]
345
+ values += [
346
+ " HAVE_SYSEXITS_H=1" ,
347
+ " LLVM_ON_UNIX=1" ,
348
+ ]
345
349
}
346
350
347
351
if (llvm_enable_threads ) {
You can’t perform that action at this time.
0 commit comments