Skip to content

Commit

Permalink
fixup OS X compilation (for BFS-disabled) by reapply bugfix #16694
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeck88 committed Nov 9, 2014
1 parent c72417d commit 14b4286
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/gettext.cpp
Expand Up @@ -24,6 +24,12 @@
#include <windows.h>
#endif

#ifdef setlocale
// Someone in libintl world decided it was a good idea to define a "setlocale" macro.
// Note: This is necessary to compile on OS X, it fixes bug #16649
#undef setlocale
#endif

#ifdef __APPLE__
#include <errno.h>
#endif
Expand Down

0 comments on commit 14b4286

Please sign in to comment.