summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authortono <tono@openoffice.org>2011-01-08 13:14:44 +0900
committertono <tono@openoffice.org>2011-01-08 13:14:44 +0900
commitae26c3df379267dbd5c6af5cc21e466bfe4f1128 (patch)
treef3b29044a40a3718ae6f262467120499e663e73d /sal
parentb4c4ba6a57ab808f90d8fcef23351ca78e2c46b4 (diff)
mingwport33: i#116357: sal: stop exporting exception class on MinGW
Diffstat (limited to 'sal')
-rw-r--r--sal/inc/sal/types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/inc/sal/types.h b/sal/inc/sal/types.h
index 14c24480d98b..2db057b2fa12 100644
--- a/sal/inc/sal/types.h
+++ b/sal/inc/sal/types.h
@@ -291,7 +291,7 @@ typedef void * sal_Handle;
These macros are used for inline declarations of exception classes, as in
rtl/malformeduriexception.hxx.
*/
-#if defined __GNUC__
+#if defined(__GNUC__) && ! defined(__MINGW32__)
#define SAL_EXCEPTION_DLLPUBLIC_EXPORT SAL_DLLPUBLIC_EXPORT
#define SAL_EXCEPTION_DLLPRIVATE SAL_DLLPRIVATE
#else