diff options
author | Kurt Zenker <kz@openoffice.org> | 2007-09-06 12:50:22 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2007-09-06 12:50:22 +0000 |
commit | 6a7e8eea1a687d300879b255f0466afe078be367 (patch) | |
tree | 6ef9287d92dc2c59ab8756a68954ac2e40fe8839 /sal/systools/win32/uwinapi | |
parent | 6922dfe20e78de0564dd91188c0aadb84903064d (diff) |
INTEGRATION: CWS mingwport06 (1.4.138); FILE MERGED
2007/08/24 13:06:54 vg 1.4.138.1: #i75499# pragma is for MSVC
Diffstat (limited to 'sal/systools/win32/uwinapi')
-rw-r--r-- | sal/systools/win32/uwinapi/GetModuleFileNameExW.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sal/systools/win32/uwinapi/GetModuleFileNameExW.cpp b/sal/systools/win32/uwinapi/GetModuleFileNameExW.cpp index 5d3b40bd2812..1f952792241f 100644 --- a/sal/systools/win32/uwinapi/GetModuleFileNameExW.cpp +++ b/sal/systools/win32/uwinapi/GetModuleFileNameExW.cpp @@ -1,7 +1,11 @@ #include "macros.h" +#ifdef _MSC_VER #pragma warning(push,1) // disable warnings within system headers +#endif #include <psapi.h> +#ifdef _MSC_VER #pragma warning(pop) +#endif IMPLEMENT_THUNK( psapi, WINDOWS, DWORD, WINAPI, GetModuleFileNameExW, (HANDLE hProcess, HMODULE hModule, LPWSTR lpFileNameW, DWORD nSize ) ) { |