Fix fileno causing compile error when #defined
Error:
expected unqualified-id before '(' token
int fmt::BufferedFile::fileno() const {
This is an issue with Android NDK and mingw32.
https://github.com/Gachapen/cppformat/commit/c2ffa146841535080a3483471fd9eec77c119c36
This commit is contained in:
1 parent
368b66a806
commit
8c68e2ca04
2 files changed
+5
-2
No files matched your search
+1
-1
@@ -31,7 +31,7 @@
|
||||
#include "posix.h"
|
||||
#include "util.h"
|
||||
|
||||
#ifdef __MINGW32__
|
||||
#ifdef fileno
|
||||
# undef fileno
|
||||
#endif
|
||||
|
||||
|
||||
Reference in new issue
Block a user