Permalink
Browse files

applied patch from Olli Savia for LynxOS Daniel

* libxml.h triodef.h: applied patch from Olli Savia for LynxOS
Daniel
  • Loading branch information...
1 parent 5869469 commit f79fbfc006ed81f669c68f2d2121f6f5a394f18c Daniel Veillard committed May 31, 2006
Showing with 13 additions and 0 deletions.
  1. +4 −0 ChangeLog
  2. +7 −0 libxml.h
  3. +2 −0 triodef.h
View
@@ -1,3 +1,7 @@
+Wed May 31 15:30:16 CEST 2006 Daniel Veillard <daniel@veillard.com>
+
+ * libxml.h triodef.h: applied patch from Olli Savia for LynxOS
+
Wed May 31 14:33:00 CEST 2006 Kasimier Buchcik <libxml2-cvs@cazic.net>
* xpath.c include/libxml/xpath.h runsuite.c:
View
@@ -25,6 +25,13 @@
#include <libxml/xmlversion.h>
#endif
+#if defined(__Lynx__)
+#include <stdio.h> /* pull definition of size_t */
+#include <varargs.h>
+int snprintf(char *, size_t, const char *, ...);
+int vfprintf(FILE *, const char *, va_list);
+#endif
+
#ifndef WITH_TRIO
#include <stdio.h>
#else
View
@@ -56,6 +56,8 @@
# define TRIO_PLATFORM_UNIX
#elif defined(__NetBSD__)
# define TRIO_PLATFORM_UNIX
+#elif defined(__Lynx__)
+# define TRIO_PLATFORM_UNIX
#elif defined(__QNX__)
# define TRIO_PLATFORM_UNIX
# define TRIO_PLATFORM_QNX

0 comments on commit f79fbfc

Please sign in to comment.