From 3e26086cb2fa01e89f7f03bd794cc04b2a161de2 Mon Sep 17 00:00:00 2001 From: "dbradley%netscape.com" Date: Wed, 7 Aug 2002 23:50:46 +0000 Subject: [PATCH] Bug 153034 - FreeBSD 5.0-current's gcc uses thunks. r=jesup, sr=jst --- .../reflect/xptcall/src/md/unix/xptc_platforms_unixish_x86.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xpcom/reflect/xptcall/src/md/unix/xptc_platforms_unixish_x86.h b/xpcom/reflect/xptcall/src/md/unix/xptc_platforms_unixish_x86.h index 15a7a24e8b7a..0dd3ad0cce87 100644 --- a/xpcom/reflect/xptcall/src/md/unix/xptc_platforms_unixish_x86.h +++ b/xpcom/reflect/xptcall/src/md/unix/xptc_platforms_unixish_x86.h @@ -92,9 +92,11 @@ * * The easiest way to distinguish the ports collection gcc from the system * gcc is that the system gcc defines __FreeBSD_cc_version. This variable - * can also identify the period of time that 4.0-CURRENT used thunks. + * can also identify versions that use thunks. This includes some 4.x versions + * and now newer 5.x versions. */ #if defined(__FreeBSD_cc_version) && \ + (__FreeBSD_cc_version < 500003) && \ (__FreeBSD_cc_version < 400002 || __FreeBSD_cc_version > 400003) #define CFRONT_STYLE_THIS_ADJUST #else