Skip to content

Commit 82c42b6

Browse files
authored
Fix iOS app preprocessor flags (#10594)
1 parent 6a418a6 commit 82c42b6

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

examples/demo-apps/apple_ios/LLaMA/LLaMA.xcodeproj/project.pbxproj

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -817,8 +817,8 @@
817817
GCC_PREPROCESSOR_DEFINITIONS = (
818818
"DEBUG=1",
819819
"ET_USE_TIKTOKEN=1",
820+
"SUPPORT_REGEX_LOOKAHEAD=ON",
820821
);
821-
GCC_PREPROCESSOR_DEFINITIONS = "SUPPORT_REGEX_LOOKAHEAD=ON";
822822
GENERATE_INFOPLIST_FILE = YES;
823823
INFOPLIST_KEY_NSHumanReadableCopyright = "";
824824
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
@@ -854,7 +854,10 @@
854854
DYLIB_INSTALL_NAME_BASE = "@rpath";
855855
ENABLE_MODULE_VERIFIER = YES;
856856
GCC_C_LANGUAGE_STANDARD = gnu17;
857-
GCC_PREPROCESSOR_DEFINITIONS = "ET_USE_TIKTOKEN=1";
857+
GCC_PREPROCESSOR_DEFINITIONS = (
858+
"ET_USE_TIKTOKEN=1",
859+
"SUPPORT_REGEX_LOOKAHEAD=ON",
860+
);
858861
GCC_PREPROCESSOR_DEFINITIONS = "SUPPORT_REGEX_LOOKAHEAD=ON";
859862
GENERATE_INFOPLIST_FILE = YES;
860863
INFOPLIST_KEY_NSHumanReadableCopyright = "";

0 commit comments

Comments
 (0)