Supplementary patch to bug 227537 because some versions of gcc don't accept all placements of the visibility attribute r=bryner sr=blizzard a=asa

This commit is contained in:
neil%parkwaycc.co.uk 2004-03-25 19:55:16 +00:00
Родитель 1aafe09612
Коммит 5a5283ca12
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -103,7 +103,7 @@
#define NS_VISIBILITY_HIDDEN __attribute__ ((visibility ("hidden")))
#define NS_VISIBILITY_DEFAULT
#define NS_HIDDEN_(type) type NS_VISIBILITY_HIDDEN
#define NS_HIDDEN_(type) NS_VISIBILITY_HIDDEN type
#else
#define NS_VISIBILITY_HIDDEN
#define NS_VISIBILITY_DEFAULT
@ -146,7 +146,7 @@
#define NS_IMPORT_(type) type
#define NS_EXPORT
#define NS_EXPORT_(type) type
#define NS_IMETHOD_(type) virtual type IMETHOD_VISIBILITY
#define NS_IMETHOD_(type) virtual IMETHOD_VISIBILITY type
#define NS_IMETHODIMP_(type) type
#define NS_METHOD_(type) type
#define NS_CALLBACK_(_type, _name) _type (* _name)