From 7773984f94a15f45e0260e6478edf991c77d6e87 Mon Sep 17 00:00:00 2001 From: Naios Date: Tue, 8 Dec 2015 16:26:58 +0100 Subject: Dep/CppFormat: Update cppformat to cppformat/cppformat@5c76d107cbaf (cherry picked from commit aa3020c26d54fa63fde16c5a765b1d72649c7e30) --- dep/cppformat/posix.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'dep/cppformat/posix.cc') diff --git a/dep/cppformat/posix.cc b/dep/cppformat/posix.cc index d36871f43a3..756281a0ebd 100644 --- a/dep/cppformat/posix.cc +++ b/dep/cppformat/posix.cc @@ -55,11 +55,14 @@ # ifdef __MINGW32__ # define _SH_DENYNO 0x40 -# undef fileno # endif #endif // _WIN32 +#ifdef fileno +# undef fileno +#endif + namespace { #ifdef _WIN32 // Return type of read and write functions. -- cgit v1.2.3