Make liblcf compile on MorphOS and AmigaOS4
Make liblcf compile on MorphOS and AmigaOS4
MODIFY
src/reader_util.cpp
src/reader_util.cpp
# include <locale>
#endif
+#if defined(__MORPHOS__) || defined(__amigaos4__)
+#define ICONV_CONST const
+#endif
+
#include <cstdio>
#include <cstdlib>
#include <sstream>

MODIFY
src/writer_xml.cpp
src/writer_xml.cpp
#include <ostream>
#include <vector>
+#if defined(__amigaos4__) && defined(__NEWLIB__) && defined(__STRICT_ANSI__)
+#define snprintf(str, size, format, ...) sprintf((str), (format), __VA_ARGS__)
+#endif
+
#include "writer_xml.h"
XmlWriter::XmlWriter(std::ostream& filestream) :

Make liblcf compile on MorphOS and AmigaOS4  (#231)

Make liblcf compile on MorphOS and AmigaOS4