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,8 +13,10 @@
#include <cstdio>
#include <system_error> // std::system_error
#if (defined __APPLE__ || defined(__FreeBSD__)) && __has_include(<xlocale.h>)
# include <xlocale.h> // for LC_NUMERIC_MASK on OS X
#if defined __APPLE__ || defined(__FreeBSD__)
# if (__cplusplus < 201703L) || __has_include(<xlocale.h>)
# include <xlocale.h> // for LC_NUMERIC_MASK on OS X
# endif
#endif
#include "format.h"