From ceb57208f7e7e15d12a9aaf9d9118b41732116c6 Mon Sep 17 00:00:00 2001 From: life4gal Date: Thu, 6 Jul 2023 17:39:41 +0800 Subject: [PATCH] Build workaround for apple clang. --- src/impl.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/impl.cpp b/src/impl.cpp index 97397f5..1cb5132 100644 --- a/src/impl.cpp +++ b/src/impl.cpp @@ -349,7 +349,8 @@ namespace { // Everything is allowed inside a string except for control characters. // fixme: error: use of variable template 'error' requires template arguments - #if defined(GAL_INI_COMPILER_APPLE_CLANG) + // #if defined(GAL_INI_COMPILER_APPLE_CLANG) + #if defined(GAL_INI_PLATFORM_MACOS) #define WORKAROUND_APPLE_CLANG_TEMPLATE template #else #define WORKAROUND_APPLE_CLANG_TEMPLATE