summaryrefslogtreecommitdiff
path: root/embedserv
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2007-09-06 13:16:12 +0000
committerKurt Zenker <kz@openoffice.org>2007-09-06 13:16:12 +0000
commitfac666f093b58a5a2ebe5cd89e76dc050c501afd (patch)
tree5d83fed35dae72371a9f411ee6ec8f25a396b82e /embedserv
parent85265c18993bbbdd4b0170bfa71cf20f823c3988 (diff)
INTEGRATION: CWS mingwport06 (1.2.36); FILE MERGED
2007/08/24 13:02:45 vg 1.2.36.1: #i75499# pragma is for MSVC
Diffstat (limited to 'embedserv')
-rwxr-xr-xembedserv/source/inc/stdafx.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/embedserv/source/inc/stdafx.h b/embedserv/source/inc/stdafx.h
index bcde3508469d..4772b2998bc5 100755
--- a/embedserv/source/inc/stdafx.h
+++ b/embedserv/source/inc/stdafx.h
@@ -12,10 +12,12 @@
#define _ATL_APARTMENT_THREADED
// #define _ATL_STATIC_REGISTRY
+#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(push, 1)
#pragma warning(disable: 4548)
#pragma warning(disable: 4505)
+#endif
#include <atlbase.h>
//You may derive a class from CComModule and use it if you want to override
//something, but do not change the name of _Module
@@ -26,8 +28,10 @@ extern CComModule _Module;
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
+#ifdef _MSC_VER
#pragma warning(pop)
#pragma warning(pop)
+#endif
#endif