[Expat-checkins] expat/lib internal.h,1.6,1.7
Greg Stein
gstein at users.sourceforge.net
Sun Sep 28 17:57:25 EDT 2003
Update of /cvsroot/expat/expat/lib
In directory sc8-pr-cvs1:/tmp/cvs-serv9203
Modified Files:
internal.h
Log Message:
Suggested fix from jtalkington at users.sf.net.
See bug #765227.
* lib/internal.h:
(FASTCALL, PTRFASTCALL): only define these macros for the GNU C compiler
on i386 platforms. apprently, they do not work well on PPC ports.
Index: internal.h
===================================================================
RCS file: /cvsroot/expat/expat/lib/internal.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- internal.h 14 Mar 2003 17:25:12 -0000 1.6
+++ internal.h 28 Sep 2003 21:57:22 -0000 1.7
@@ -20,7 +20,7 @@
and therefore subject to change.
*/
-#if defined(__GNUC__) && defined(linux)
+#if defined(__GNUC__) && defined(__i386__)
/* We'll use this version by default only where we know it helps.
regparm() generates warnings on Solaris boxes. See SF bug #692878.
More information about the Expat-checkins
mailing list