summaryrefslogtreecommitdiff
path: root/sal/systools
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2007-09-06 12:50:22 +0000
committerKurt Zenker <kz@openoffice.org>2007-09-06 12:50:22 +0000
commit6a7e8eea1a687d300879b255f0466afe078be367 (patch)
tree6ef9287d92dc2c59ab8756a68954ac2e40fe8839 /sal/systools
parent6922dfe20e78de0564dd91188c0aadb84903064d (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')
-rw-r--r--sal/systools/win32/uwinapi/GetModuleFileNameExW.cpp4
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 ) )
{