From 8f5e07656e25ec64ec7c843f0529107df8588671 Mon Sep 17 00:00:00 2001 From: Janusz Chorko Date: Sat, 25 May 2024 16:49:24 +0200 Subject: [PATCH] Remove an old mingw workaround (#2059) (#3975) Backports fix from master branch as the code no longer compiles on mingw64/gcc 14.1.0 without gnu extensions enabled. --- fmt/posix.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/fmt/posix.h b/fmt/posix.h index c3ce964a..0f6fe681 100644 --- a/fmt/posix.h +++ b/fmt/posix.h @@ -10,11 +10,6 @@ #ifndef FMT_POSIX_H_ #define FMT_POSIX_H_ -#if defined(__MINGW32__) || defined(__CYGWIN__) -// Workaround MinGW bug https://sourceforge.net/p/mingw/bugs/2024/. -# undef __STRICT_ANSI__ -#endif - #include #include // for O_RDONLY #include // for locale_t