mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 17:23:59 +00:00
Bug 1142074 - remove NS_{IMPORT,EXPORT}_STATIC_MEMBER_; r=bsmedberg
These have been unused for quite some time, and we have other ways of flagging static variables for export/import now. Whatever GCC bugs necessitated these macros are long gone as well.
This commit is contained in:
parent
a8b719ecbb
commit
46bf91f4be
@ -106,14 +106,6 @@
|
||||
#endif
|
||||
#define NS_FROZENCALL __cdecl
|
||||
|
||||
/*
|
||||
These are needed to mark static members in exported classes, due to
|
||||
gcc bug XXX insert bug# here.
|
||||
*/
|
||||
|
||||
#define NS_EXPORT_STATIC_MEMBER_(type) type
|
||||
#define NS_IMPORT_STATIC_MEMBER_(type) type
|
||||
|
||||
#else
|
||||
|
||||
#define NS_IMPORT NS_EXTERNAL_VIS
|
||||
@ -126,8 +118,6 @@
|
||||
#define NS_CALLBACK_(_type, _name) _type (* _name)
|
||||
#define NS_STDCALL
|
||||
#define NS_FROZENCALL
|
||||
#define NS_EXPORT_STATIC_MEMBER_(type) NS_EXTERNAL_VIS_(type)
|
||||
#define NS_IMPORT_STATIC_MEMBER_(type) NS_EXTERNAL_VIS_(type)
|
||||
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user