Remove the old AmigaOS4 and MorphOS workarounds
MODIFY
src/encoder.cpp
src/encoder.cpp
# include <locale>
#endif
-#if defined(__MORPHOS__) || defined(__amigaos4__)
-#define ICONV_CONST const
-#endif
-
namespace lcf {
static std::string filterUtf8Compatible(std::string enc) {

MODIFY
src/reader_util.cpp
src/reader_util.cpp
# include <locale>
#endif
-#if defined(__MORPHOS__) || defined(__amigaos4__)
-#define ICONV_CONST const
-#endif
#include <algorithm>
#include <cstdio>
#include <cstdlib>

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 "lcf/writer_xml.h"

Remove the old AmigaOS4 and MorphOS workarounds