suggested patch from SF bug #846309:

avoid generating spurious warning from GCC on non-x86 platforms
This commit is contained in:
Fred L. Drake, Jr. 2004-01-20 16:04:47 +00:00
parent c4cc819335
commit 3fc33bf3b6

View file

@ -45,7 +45,7 @@
#ifndef XMLCALL
#if defined(XML_USE_MSC_EXTENSIONS)
#define XMLCALL __cdecl
#elif defined(__GNUC__)
#elif defined(__GNUC__) && defined(__i386)
#define XMLCALL __attribute__((cdecl))
#else
/* For any platform which uses this definition and supports more than