summaryrefslogtreecommitdiff
path: root/basic/source/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'basic/source/runtime')
-rw-r--r--basic/source/runtime/dllmgr-none.cxx4
-rw-r--r--basic/source/runtime/dllmgr-x64.cxx4
-rw-r--r--basic/source/runtime/dllmgr-x86.cxx4
3 files changed, 6 insertions, 6 deletions
diff --git a/basic/source/runtime/dllmgr-none.cxx b/basic/source/runtime/dllmgr-none.cxx
index 360128405723..28f0005b21d8 100644
--- a/basic/source/runtime/dllmgr-none.cxx
+++ b/basic/source/runtime/dllmgr-none.cxx
@@ -20,8 +20,8 @@
#include <sal/config.h>
#if defined(WNT)
-#include <windows.h>
-#undef GetObject
+#include <prewin.h>
+#include <postwin.h>
#endif
#include <algorithm>
diff --git a/basic/source/runtime/dllmgr-x64.cxx b/basic/source/runtime/dllmgr-x64.cxx
index d1dc86a01caa..407b3f3bf8e4 100644
--- a/basic/source/runtime/dllmgr-x64.cxx
+++ b/basic/source/runtime/dllmgr-x64.cxx
@@ -20,8 +20,8 @@
#include <sal/config.h>
#if defined(WNT)
-#include <windows.h>
-#undef GetObject
+#include <prewin.h>
+#include <postwin.h>
#endif
#include <algorithm>
diff --git a/basic/source/runtime/dllmgr-x86.cxx b/basic/source/runtime/dllmgr-x86.cxx
index d97f29897097..acc9cb5685e9 100644
--- a/basic/source/runtime/dllmgr-x86.cxx
+++ b/basic/source/runtime/dllmgr-x86.cxx
@@ -20,8 +20,8 @@
#include <sal/config.h>
#if defined(WNT)
-#include <windows.h>
-#undef GetObject
+#include <prewin.h>
+#include <postwin.h>
#endif
#include <algorithm>