mirror of
https://github.com/fmtlib/fmt.git
synced 2025-01-01 00:51:23 +00:00
feat: include xlocale.h only if exists
This commit is contained in:
parent
05dda9490d
commit
05aa783779
@ -13,7 +13,7 @@
|
|||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
#include <system_error> // std::system_error
|
#include <system_error> // std::system_error
|
||||||
|
|
||||||
#if defined __APPLE__ || defined(__FreeBSD__)
|
#if (defined __APPLE__ || defined(__FreeBSD__)) && __has_include(<xlocale.h>)
|
||||||
# include <xlocale.h> // for LC_NUMERIC_MASK on OS X
|
# include <xlocale.h> // for LC_NUMERIC_MASK on OS X
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user