From 7c0a66072e9766a42d48fdce761879d93e025cf5 Mon Sep 17 00:00:00 2001 From: krupalbhat <56032256+krupalbhat@users.noreply.github.com> Date: Tue, 9 Apr 2024 12:06:08 +0530 Subject: [PATCH] removed mingw32 to fix the compilation issue in windows mingw gcc (#528) --- src/common/FormatHelper.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/FormatHelper.h b/src/common/FormatHelper.h index 916cb58f9..a844c3383 100644 --- a/src/common/FormatHelper.h +++ b/src/common/FormatHelper.h @@ -5,7 +5,7 @@ #include #include -#if defined(__APPLE__) || defined(__MINGW32__) || (defined(__GNUC__) && (__GNUC__ < 12) && !defined(__clang__)) +#if defined(__APPLE__) || defined(__GNUC__) && (__GNUC__ < 12) && !defined(__clang__) #include #else #include @@ -16,7 +16,7 @@ namespace faker class FormatHelper { public: -#if defined(__APPLE__) || defined(__MINGW32__) || (defined(__GNUC__) && (__GNUC__ < 12) && !defined(__clang__)) +#if defined(__APPLE__) || (defined(__GNUC__)) && (__GNUC__ < 12) && !defined(__clang__) template static std::string format(fmt::format_string fmt, Args&&... args) {