forked from fmtlib/fmt
feat: enable building with gcc 4.8
This commit is contained in:
@@ -13,8 +13,10 @@
|
|||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
#include <system_error> // std::system_error
|
#include <system_error> // std::system_error
|
||||||
|
|
||||||
#if (defined __APPLE__ || defined(__FreeBSD__)) && __has_include(<xlocale.h>)
|
#if defined __APPLE__ || defined(__FreeBSD__)
|
||||||
|
# if (__cplusplus < 201703L) || __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
|
#endif
|
||||||
|
|
||||||
#include "format.h"
|
#include "format.h"
|
||||||
|
Reference in New Issue
Block a user