INTEGRATION: CWS tune06 (1.17.22); FILE MERGED
2004/10/13 12:09:05 sb 1.17.22.1: #i35054# GCC 3.4 symbol visibility: UNO exceptions need explicit default symbol visibility.
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
*
|
||||
* $RCSfile: macros.hxx,v $
|
||||
*
|
||||
* $Revision: 1.17 $
|
||||
* $Revision: 1.18 $
|
||||
*
|
||||
* last change: $Author: obo $ $Date: 2004-06-04 03:18:31 $
|
||||
* last change: $Author: pjunck $ $Date: 2004-10-22 10:58:53 $
|
||||
*
|
||||
* The Contents of this file are made available subject to the terms of
|
||||
* either of the following licenses
|
||||
@@ -88,5 +88,21 @@
|
||||
#define CPPU_GCC3_ALIGN( base_struct )
|
||||
#endif
|
||||
|
||||
/**
|
||||
Exporting the symbols necessary for exception handling on GCC.
|
||||
|
||||
These macros are used in the headers generated by cppumaker for UNO exception
|
||||
types, to ensure that exception handling does not fail on GCC.
|
||||
|
||||
@internal
|
||||
*/
|
||||
#if defined __GNUC__
|
||||
#define CPPU_GCC_DLLPUBLIC_EXPORT SAL_DLLPUBLIC_EXPORT
|
||||
#define CPPU_GCC_DLLPRIVATE SAL_DLLPRIVATE
|
||||
#else
|
||||
#define CPPU_GCC_DLLPUBLIC_EXPORT
|
||||
#define CPPU_GCC_DLLPRIVATE
|
||||
#endif
|
||||
|
||||
#endif // _CPPU_MACROS_HXX_
|
||||
|
||||
|
Reference in New Issue
Block a user