Skip to content

Commit

Permalink
removed mingw32 to fix the compilation issue in windows mingw gcc (#528)
Browse files Browse the repository at this point in the history
  • Loading branch information
krupalbhat authored Apr 9, 2024
1 parent 52494ac commit 7c0a660
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/FormatHelper.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <string>
#include <vector>

#if defined(__APPLE__) || defined(__MINGW32__) || (defined(__GNUC__) && (__GNUC__ < 12) && !defined(__clang__))
#if defined(__APPLE__) || defined(__GNUC__) && (__GNUC__ < 12) && !defined(__clang__)
#include <fmt/format.h>
#else
#include <format>
Expand All @@ -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 <typename... Args>
static std::string format(fmt::format_string<Args...> fmt, Args&&... args)
{
Expand Down

0 comments on commit 7c0a660

Please sign in to comment.