summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dir.cpp2
-rw-r--r--src/fileinfo.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/dir.cpp b/src/dir.cpp
index 327bc72..c4fcb1b 100644
--- a/src/dir.cpp
+++ b/src/dir.cpp
@@ -13,6 +13,8 @@
*
*/
+#define NOMINMAX
+#define WIN32_LEAN_AND_MEAN
#include "filesystem.hpp"
#include "dir.h"
diff --git a/src/fileinfo.cpp b/src/fileinfo.cpp
index 8d0a332..7924642 100644
--- a/src/fileinfo.cpp
+++ b/src/fileinfo.cpp
@@ -13,6 +13,8 @@
*
*/
+#define NOMINMAX
+#define WIN32_LEAN_AND_MEAN // optional
#include "filesystem.hpp"
#include "fileinfo.h"