File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
llvm-project-overlay/llvm Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ posix_defines = [
36
36
"HAVE_STRERROR_R=1" ,
37
37
"HAVE_SYSEXITS_H=1" ,
38
38
"HAVE_UNISTD_H=1" ,
39
+ "LLVM_WINDOWS_PREFER_FORWARD_SLASH=0" ,
39
40
]
40
41
41
42
linux_defines = posix_defines + [
@@ -70,6 +71,7 @@ win32_defines = [
70
71
# LLVM features
71
72
r'LTDL_SHLIB_EXT=\".dll\"' ,
72
73
r'LLVM_PLUGIN_EXT=\".dll\"' ,
74
+ "LLVM_WINDOWS_PREFER_FORWARD_SLASH=1" ,
73
75
]
74
76
75
77
# TODO: We should switch to platforms-based config settings to make this easier
Original file line number Diff line number Diff line change 19
19
/* Define to 1 to enable crash memory dumps, and to 0 otherwise. */
20
20
#cmakedefine01 LLVM_ENABLE_CRASH_DUMPS
21
21
22
+ /* Define to 1 to prefer forward slashes on Windows, and to 0 prefer
23
+ backslashes. */
24
+ #cmakedefine01 LLVM_WINDOWS_PREFER_FORWARD_SLASH
25
+
22
26
/* Define to 1 if you have the `backtrace' function. */
23
27
#cmakedefine HAVE_BACKTRACE ${HAVE_BACKTRACE}
24
28
You can’t perform that action at this time.
0 commit comments