i386 gcc3 support.
ok wilfried@
This commit is contained in:
parent
2b32d8b4c3
commit
03645371c5
@ -0,0 +1,20 @@
|
||||
$OpenBSD: patch-xpcom_reflect_xptcall_src_md_unix_xptc_platforms_unixish_x86_h,v 1.1 2004/11/13 09:56:07 kettenis Exp $
|
||||
--- xpcom/reflect/xptcall/src/md/unix/xptc_platforms_unixish_x86.h.orig Thu Jan 8 19:17:07 2004
|
||||
+++ xpcom/reflect/xptcall/src/md/unix/xptc_platforms_unixish_x86.h Fri Nov 12 21:09:52 2004
|
||||
@@ -107,12 +107,16 @@
|
||||
#define THUNK_BASED_THIS_ADJUST
|
||||
|
||||
#elif defined(__OpenBSD__)
|
||||
+#if __GNUC__ >= 3
|
||||
+#define THUNK_BASED_THIS_ADJUST
|
||||
+#else
|
||||
/* OpenBSD instroduces GCC 2.95.x in late May 1999 */
|
||||
#include <sys/param.h>
|
||||
#if OpenBSD <= 199905
|
||||
#define THUNK_BASED_THIS_ADJUST
|
||||
#else
|
||||
#define CFRONT_STYLE_THIS_ADJUST
|
||||
+#endif
|
||||
#endif
|
||||
|
||||
#elif defined(__bsdi__)
|
Loading…
Reference in New Issue
Block a user