aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/vasp/source
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/vasp/source')
-rw-r--r--externals/grill/vasp/source/util.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/externals/grill/vasp/source/util.h b/externals/grill/vasp/source/util.h
index 859f37e7..7f7cd080 100644
--- a/externals/grill/vasp/source/util.h
+++ b/externals/grill/vasp/source/util.h
@@ -19,6 +19,13 @@ WARRANTIES, see the file, "license.txt," in this distribution.
#define BIG 1.e10
+#ifdef min
+#undef min
+#endif
+
+#ifdef max
+#undef max
+#endif
template<class T>
inline V swap(T &a,T &b) { T c = a; a = b; b = c; }