diff --git a/lib/Interpreter/DynamicLibraryManager.cpp b/lib/Interpreter/DynamicLibraryManager.cpp index 0c5db0487..d2cf5a172 100644 --- a/lib/Interpreter/DynamicLibraryManager.cpp +++ b/lib/Interpreter/DynamicLibraryManager.cpp @@ -69,9 +69,9 @@ namespace Cpp { for (const std::string& P : SysPaths) addSearchPath(P, /*IsUser*/ false); } - #if LLVM_VERSION_MAJOR < 18 - #define starts_with_insensitive startswith_insensitive - #endif +#if LLVM_VERSION_MAJOR < 18 +#define starts_with_insensitive startswith_insensitive +#endif ///\returns substitution of pattern in the front of original with replacement /// Example: substFront("@rpath/abc", "@rpath/", "/tmp") -> "/tmp/abc" static std::string substFront(StringRef original, StringRef pattern,