Added an error directive about UTF-8 not being supported under DOS
authorDavid Griffith <dave@661.org>
Mon, 27 May 2019 00:15:34 +0000 (17:15 -0700)
committerDavid Griffith <dave@661.org>
Mon, 27 May 2019 02:32:11 +0000 (19:32 -0700)
Given the limitations of the MS/PC DOS platform, it doesn't look like
supporting UTF-8 will be possible.

src/common/frotz.h

index 4ca33e9aef6c26cd2038681e518431a7c49c4904..09bd0c46af21286ddaa501c57dd72ac3773a5501 100644 (file)
    But since no os_* function uses it, it's safe to let the frotz core see
    this definition, but have the unix port see the curses version. */
 
+#ifdef MSDOS_16BIT
+#ifdef USE_UTF8
+#error UTF-8 is not supported in DOS Frotz
+#endif
+#endif
+
+/* This will be addressed later. */
 #ifndef MSDOS_16BIT
 #include "git_hash.h"
 #endif