Skip to content

Commit 9f75a71

Browse files
committed
Remove an old mingw workaround (fmtlib#2059)
Backports fix from master branch as the code no longer compiles on mingw64/gcc 14.1.0 without gnu extensions enabled.
1 parent 3e8d2c5 commit 9f75a71

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

fmt/posix.h

-5
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@
1010
#ifndef FMT_POSIX_H_
1111
#define FMT_POSIX_H_
1212

13-
#if defined(__MINGW32__) || defined(__CYGWIN__)
14-
// Workaround MinGW bug https://sourceforge.net/p/mingw/bugs/2024/.
15-
# undef __STRICT_ANSI__
16-
#endif
17-
1813
#include <errno.h>
1914
#include <fcntl.h> // for O_RDONLY
2015
#include <locale.h> // for locale_t

0 commit comments

Comments
 (0)