Add compilation support with Newlib nano for embedded targets

This commit is contained in:
Thomas Bernard 2018-08-17 11:22:56 +02:00
parent 9de312112a
commit cb6185fbc0

View File

@ -266,7 +266,7 @@ class file {
long getpagesize();
#if (defined(LC_NUMERIC_MASK) || defined(_MSC_VER)) && \
!defined(__ANDROID__) && !defined(__CYGWIN__) && !defined(__OpenBSD__)
!defined(__ANDROID__) && !defined(__CYGWIN__) && !defined(__OpenBSD__) && !defined(__NEWLIB_H__)
# define FMT_LOCALE
#endif