mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-29 00:35:03 +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 <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
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user