summaryrefslogtreecommitdiff
path: root/sc/qa/unit
diff options
context:
space:
mode:
Diffstat (limited to 'sc/qa/unit')
-rw-r--r--sc/qa/unit/helper/debughelper.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/qa/unit/helper/debughelper.hxx b/sc/qa/unit/helper/debughelper.hxx
index 1312e0472983..ee84f4ccd323 100644
--- a/sc/qa/unit/helper/debughelper.hxx
+++ b/sc/qa/unit/helper/debughelper.hxx
@@ -36,7 +36,9 @@
#include "document.hxx"
#ifdef WNT
+#if !defined NOMINMAX
#define NOMINMAX
+#endif
#include <prewin.h>
#include <postwin.h>
#undef NOMINMAX