summaryrefslogtreecommitdiff
path: root/setup_native/source/win32/customactions/shellextensions/checkdirectory.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2007-08-13 09:56:36 +0000
committerOliver Bolte <obo@openoffice.org>2007-08-13 09:56:36 +0000
commitee002ae3e1465169902034c188dedfea68dc4df8 (patch)
tree0fb0526414230f4a2176edeec6a349130eb52428 /setup_native/source/win32/customactions/shellextensions/checkdirectory.cxx
parent7031922a77fc4c8f7465be6db99fafb63048366e (diff)
#i10000# error YES breaks vista build
Diffstat (limited to 'setup_native/source/win32/customactions/shellextensions/checkdirectory.cxx')
-rwxr-xr-xsetup_native/source/win32/customactions/shellextensions/checkdirectory.cxx10
1 files changed, 4 insertions, 6 deletions
diff --git a/setup_native/source/win32/customactions/shellextensions/checkdirectory.cxx b/setup_native/source/win32/customactions/shellextensions/checkdirectory.cxx
index d9a7a1a9232a..0212d5524723 100755
--- a/setup_native/source/win32/customactions/shellextensions/checkdirectory.cxx
+++ b/setup_native/source/win32/customactions/shellextensions/checkdirectory.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: checkdirectory.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: rt $ $Date: 2007-07-06 12:16:58 $
+ * last change: $Author: obo $ $Date: 2007-08-13 10:56:36 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -33,6 +33,8 @@
*
************************************************************************/
+#define _WIN32_WINNT 0x0401
+
#pragma warning(push, 1) /* disable warnings within system headers */
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
@@ -53,10 +55,6 @@
#include <queue>
#include <stdio.h>
-#ifdef _WIN32_WINNT
-#error YES
-#endif
-
#include <systools/win32/uwinapi.h>
#include <../tools/seterror.hxx>