Skip to content

Commit ada1092

Browse files
akriegerkevingranade
authored andcommitted
Fix linux release builds.
1 parent 8540bf4 commit ada1092

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build-scripts/get_translation_characters.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def add_preprocessor():
1818
"#if defined(__clang__)\n"
1919
"#define NOUNROLL _Pragma(\"clang loop unroll(disable)\")\n"
2020
"#elif defined(__GNUC__)\n"
21-
"#define NOUNROLL #pragma GCC unroll 0\n"
21+
"#define NOUNROLL _Pragma(\"GCC unroll 0\")\n"
2222
"#else\n"
2323
"#define NOUNROLL\n"
2424
"#endif\n")

src/cldr/imgui-glyph-ranges.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#if defined(__clang__)
1212
#define NOUNROLL _Pragma("clang loop unroll(disable)")
1313
#elif defined(__GNUC__)
14-
#define NOUNROLL #pragma GCC unroll 0
14+
#define NOUNROLL _Pragma("GCC unroll 0")
1515
#else
1616
#define NOUNROLL
1717
#endif

0 commit comments

Comments
 (0)