aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Bushnell <bushsolo@gmail.com>2019-04-10 12:16:52 +0100
committerPeter Bushnell <bushsolo@gmail.com>2019-04-10 12:16:52 +0100
commit0b3a65455a20504a66355ae2e6f0a83cb8462f3c (patch)
treec663db6956a60a4d6d9bf5fb7489edb829ed7cf7
parent8c022e8ac401f98c73e6ca62b502b40fc83c3e1f (diff)
Avoid redefine warning
-rw-r--r--src/fs.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fs.cpp b/src/fs.cpp
index f937f64e04..7b422b8d70 100644
--- a/src/fs.cpp
+++ b/src/fs.cpp
@@ -3,7 +3,9 @@
#ifndef WIN32
#include <fcntl.h>
#else
+#ifndef NOMINMAX
#define NOMINMAX
+#endif
#include <codecvt>
#include <windows.h>
#endif