Skip to content

Commit

Permalink
Remove an old mingw workaround (#2059) (#3975)
Browse files Browse the repository at this point in the history
Backports fix from master branch as the code no longer compiles
on mingw64/gcc 14.1.0 without gnu extensions enabled.
  • Loading branch information
yachoor authored May 25, 2024
1 parent 3e8d2c5 commit 8f5e076
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions fmt/posix.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 <errno.h>
#include <fcntl.h> // for O_RDONLY
#include <locale.h> // for locale_t
Expand Down

0 comments on commit 8f5e076

Please sign in to comment.