diff options
author | Khem Raj <raj.khem@gmail.com> | 2008-08-01 21:39:13 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2008-08-01 21:39:13 +0000 |
commit | 4f697ca42208d4af3339f64595a46aa71f26bea1 (patch) | |
tree | 14589ea5a1150b372b66e6ee6d72a37744f08cae /packages/expat/expat-1.95.7 | |
parent | 2cefeaab530c24918e5d471c0d7790524c4b7414 (diff) |
Consider i386 when making XMLCALL as decl type.
This fixes gdb build failures on x86_64 host machines.
Diffstat (limited to 'packages/expat/expat-1.95.7')
-rw-r--r-- | packages/expat/expat-1.95.7/expat-XMLCALL.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/expat/expat-1.95.7/expat-XMLCALL.patch b/packages/expat/expat-1.95.7/expat-XMLCALL.patch new file mode 100644 index 0000000000..c688f06426 --- /dev/null +++ b/packages/expat/expat-1.95.7/expat-XMLCALL.patch @@ -0,0 +1,17 @@ +--- + lib/expat.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Index: expat-1.95.7/lib/expat.h +=================================================================== +--- expat-1.95.7.orig/lib/expat.h 2008-07-31 15:56:39.000000000 -0700 ++++ expat-1.95.7/lib/expat.h 2008-07-31 15:58:38.000000000 -0700 +@@ -45,7 +45,7 @@ + #ifndef XMLCALL + #if defined(XML_USE_MSC_EXTENSIONS) + #define XMLCALL __cdecl +-#elif defined(__GNUC__) ++#elif defined(__GNUC__) && defined(__i386) && !defined(__INTEL_COMPILER) + #define XMLCALL __attribute__((cdecl)) + #else + /* For any platform which uses this definition and supports more than |