summaryrefslogtreecommitdiff
path: root/lib/common
diff options
context:
space:
mode:
authorAG <contact@grandville.net>2015-10-26 23:18:51 +0100
committerAG <contact@grandville.net>2015-10-26 23:18:51 +0100
commit57198ec30c5678c5a5ed26ef6b345d289bb48e50 (patch)
tree5f51b8068ab38037ab86ce9fcb30e729ca769da9 /lib/common
parentad1c0240f9ac4c56519cf0e5c2765b7edfc30ca0 (diff)
add specific define to allow the use of std::min and sd::max from windows
Diffstat (limited to 'lib/common')
-rw-r--r--lib/common/BoxConfig-MSVC.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/common/BoxConfig-MSVC.h b/lib/common/BoxConfig-MSVC.h
index eeb25d2e..82ab4997 100644
--- a/lib/common/BoxConfig-MSVC.h
+++ b/lib/common/BoxConfig-MSVC.h
@@ -2,6 +2,9 @@
/* lib/common/BoxConfig.h.in. Generated from configure.ac by autoheader. */
/* Hacked by hand to work for MSVC by Chris Wilson */
+// using std::min/max
+#define NOMINMAX
+
/* Define to major version for BDB_VERSION */
/* #undef BDB_VERSION_MAJOR */