[Libreoffice-commits] .: sc/qa

Fridrich Strba fridrich at kemper.freedesktop.org
Thu Jul 21 00:31:51 PDT 2011


 sc/qa/unit/ucalc.cxx |    7 +++++++
 1 file changed, 7 insertions(+)

New commits:
commit a027bee4bb2565f14eb70c4325592b23a86c007a
Author: Fridrich Å trba <fridrich.strba at bluewin.ch>
Date:   Thu Jul 21 09:23:19 2011 +0200

    Avoid confusion with our windows api clash prevention

diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx
index 8899b5e..dba0182 100644
--- a/sc/qa/unit/ucalc.cxx
+++ b/sc/qa/unit/ucalc.cxx
@@ -87,6 +87,13 @@
 #include <iostream>
 #include <vector>
 
+#ifdef WNT
+#define NOMINMAX
+#include <prewin.h>
+#include <postwin.h>
+#undef NOMINMAX
+#endif
+
 #define MDDS_HASH_CONTAINER_BOOST 1
 #include <mdds/mixed_type_matrix.hpp>
 


More information about the Libreoffice-commits mailing list