[Expat-checkins] expat/lib expat.h,1.59,1.60
Fred L. Drake
fdrake at users.sourceforge.net
Tue Jan 20 11:04:49 EST 2004
Update of /cvsroot/expat/expat/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv29252
Modified Files:
expat.h
Log Message:
suggested patch from SF bug #846309:
avoid generating spurious warning from GCC on non-x86 platforms
Index: expat.h
===================================================================
RCS file: /cvsroot/expat/expat/lib/expat.h,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -d -r1.59 -r1.60
--- expat.h 7 Jan 2004 17:10:52 -0000 1.59
+++ expat.h 20 Jan 2004 16:04:47 -0000 1.60
@@ -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
More information about the Expat-checkins
mailing list