diff options
Diffstat (limited to 'sal/qa/osl')
-rw-r--r-- | sal/qa/osl/file/osl_File.cxx | 3 | ||||
-rw-r--r-- | sal/qa/osl/process/osl_Thread.cxx | 3 | ||||
-rw-r--r-- | sal/qa/osl/process/osl_process.cxx | 3 | ||||
-rw-r--r-- | sal/qa/osl/security/osl_Security.cxx | 3 |
4 files changed, 12 insertions, 0 deletions
diff --git a/sal/qa/osl/file/osl_File.cxx b/sal/qa/osl/file/osl_File.cxx index 4a3b014b095c..d3aaf7e2fdef 100644 --- a/sal/qa/osl/file/osl_File.cxx +++ b/sal/qa/osl/file/osl_File.cxx @@ -32,6 +32,9 @@ #include <memory> #ifdef _WIN32 +#if !defined WIN32_LEAN_AND_MEAN +# define WIN32_LEAN_AND_MEAN +#endif #include <windows.h> #endif diff --git a/sal/qa/osl/process/osl_Thread.cxx b/sal/qa/osl/process/osl_Thread.cxx index 8248255ba78b..c6c016afb7e4 100644 --- a/sal/qa/osl/process/osl_Thread.cxx +++ b/sal/qa/osl/process/osl_Thread.cxx @@ -19,6 +19,9 @@ #include <algorithm> #ifdef _WIN32 +#if !defined WIN32_LEAN_AND_MEAN +# define WIN32_LEAN_AND_MEAN +#endif #include <windows.h> #else #include <unistd.h> diff --git a/sal/qa/osl/process/osl_process.cxx b/sal/qa/osl/process/osl_process.cxx index 917fca1a89f2..06709c9c6677 100644 --- a/sal/qa/osl/process/osl_process.cxx +++ b/sal/qa/osl/process/osl_process.cxx @@ -44,6 +44,9 @@ #endif #if defined(_WIN32) // Windows +#if !defined WIN32_LEAN_AND_MEAN +# define WIN32_LEAN_AND_MEAN +#endif # include <windows.h> # include <tchar.h> #else diff --git a/sal/qa/osl/security/osl_Security.cxx b/sal/qa/osl/security/osl_Security.cxx index 1595377ac25d..c1268b256bc6 100644 --- a/sal/qa/osl/security/osl_Security.cxx +++ b/sal/qa/osl/security/osl_Security.cxx @@ -19,6 +19,9 @@ #include <algorithm> #ifdef _WIN32 +#if !defined WIN32_LEAN_AND_MEAN +# define WIN32_LEAN_AND_MEAN +#endif #include <windows.h> #undef min #endif |