feat: enable building with gcc 4.8

This commit is contained in:
hotwatermorning
2023-11-02 20:42:05 +09:00
parent 05aa783779
commit acaf83f40f

View File

@@ -13,9 +13,11 @@
#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"