summaryrefslogtreecommitdiff
path: root/sal/osl
diff options
context:
space:
mode:
Diffstat (limited to 'sal/osl')
-rw-r--r--sal/osl/w32/file_url.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sal/osl/w32/file_url.hxx b/sal/osl/w32/file_url.hxx
index c8eec0632d22..43bed9100bdb 100644
--- a/sal/osl/w32/file_url.hxx
+++ b/sal/osl/w32/file_url.hxx
@@ -29,7 +29,9 @@
#pragma warning(push,1)
#endif
-#define WINDOWS_LEAN_AND_MEAN
+#if !defined WIN32_LEAN_AND_MEAN
+# define WIN32_LEAN_AND_MEAN
+#endif
#include <windows.h>
#ifdef _MSC_VER