From cb6185fbc06d096871ae7139ea3c52d458ffef37 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Fri, 17 Aug 2018 11:22:56 +0200 Subject: [PATCH] Add compilation support with Newlib nano for embedded targets --- include/fmt/posix.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/posix.h b/include/fmt/posix.h index 2fb01260..c5e27e05 100644 --- a/include/fmt/posix.h +++ b/include/fmt/posix.h @@ -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