summaryrefslogtreecommitdiff
path: root/idlc/source/options.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'idlc/source/options.cxx')
-rw-r--r--idlc/source/options.cxx18
1 files changed, 3 insertions, 15 deletions
diff --git a/idlc/source/options.cxx b/idlc/source/options.cxx
index b183c2bf6889..cbbd55b895a8 100644
--- a/idlc/source/options.cxx
+++ b/idlc/source/options.cxx
@@ -28,24 +28,12 @@
#include "osl/file.hxx"
#ifdef _WIN32
+# if !defined WIN32_LEAN_AND_MEAN
+# define WIN32_LEAN_AND_MEAN
+# endif
# include <windows.h>
#endif
-/*
-#ifndef WIN32_LEAN_AND_MEAN
-# define WIN32_LEAN_AND_MEAN
-# ifdef _MSC_VER
-# pragma warning(push,1)
-# endif
-# include <windows.h>
-# ifdef _MSC_VER
-# pragma warning(pop)
-# endif
-# include <tchar.h>
-# undef WIN32_LEAN_AND_MEAN
-#endif
-*/
-
#include <stdio.h>
#include <string.h>