[Expat-checkins] expat/xmlwf xmlwf.c,1.67,1.68

Steven Solie ssolie at users.sourceforge.net
Sat Dec 24 07:35:08 CET 2005


Update of /cvsroot/expat/expat/xmlwf
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1881

Modified Files:
	xmlwf.c 
Log Message:


Index: xmlwf.c
===================================================================
RCS file: /cvsroot/expat/expat/xmlwf/xmlwf.c,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -d -r1.67 -r1.68
--- xmlwf.c	10 Aug 2004 18:18:25 -0000	1.67
+++ xmlwf.c	24 Dec 2005 06:35:04 -0000	1.68
@@ -16,6 +16,10 @@
 #include <crtdbg.h>
 #endif
 
+#ifdef AMIGA_SHARED_LIB
+#include <proto/expat.h>
+#endif
+
 /* This ensures proper sorting. */
 
 #define NSSEP T('\001')
@@ -634,8 +638,13 @@
   exit(rc);
 }
 
+#ifdef AMIGA_SHARED_LIB
+int
+amiga_main(int argc, char *argv[])
+#else
 int
 tmain(int argc, XML_Char **argv)
+#endif
 {
   int i, j;
   const XML_Char *outputDir = NULL;



More information about the Expat-checkins mailing list