diff options
author | Moonchild <moonchild@palemoon.org> | 2022-03-02 21:23:45 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2022-03-02 21:23:45 +0000 |
commit | 5fe31b024217a7057db60c52d8fb535cc2bc05a3 (patch) | |
tree | 1d8272b66c35248b34d2df6f172c10a9ed1c57d3 /xpcom/base/nscore.h | |
parent | 39e80ed9afe2e5bba65a2786c7eff7c3189d49e8 (diff) | |
parent | 872bfa373ddfc184e17caf1ba38dbb02ed9c37f0 (diff) | |
download | GRE-5fe31b024217a7057db60c52d8fb535cc2bc05a3.tar.gz |
Merge branch 'remove-hacks'
Diffstat (limited to 'xpcom/base/nscore.h')
-rw-r--r-- | xpcom/base/nscore.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/xpcom/base/nscore.h b/xpcom/base/nscore.h index c667a8ae3..6300099ef 100644 --- a/xpcom/base/nscore.h +++ b/xpcom/base/nscore.h @@ -134,18 +134,10 @@ * * where nsIFoo::typeFunc is any method declared as * NS_IMETHOD typeFunc(nsISupports*); - * - * XXX this can be simplified to always use the non-typeof implementation - * when http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11893 is fixed. */ -#ifdef __GNUC__ -#define NS_STDCALL_FUNCPROTO(ret, name, class, func, args) \ - typeof(&class::func) name -#else #define NS_STDCALL_FUNCPROTO(ret, name, class, func, args) \ ret (NS_STDCALL class::*name) args -#endif /** * Deprecated declarations. |