From acf6c881d36b675d755433d3cf48613bc46ed78d Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Sun, 3 Jan 2016 22:54:29 +0000 Subject: Updated platform specific #if's to report unimplemented code when compiling with FL_PORTING defined and WIN32 and __APPLE__ undefined> git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@10989 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/fl_utf8.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'FL/fl_utf8.h') diff --git a/FL/fl_utf8.h b/FL/fl_utf8.h index 7ac79e1f5..b19f2a962 100644 --- a/FL/fl_utf8.h +++ b/FL/fl_utf8.h @@ -57,6 +57,9 @@ # include # include # define xchar wchar_t +#elif defined(FL_PORTING) +# pragma message "FL_PORTING: include utf8 support files and define utf8 types" +# define xchar unsigned short #else /* X11 */ # include # include @@ -158,6 +161,12 @@ FL_EXPORT char *fl_utf8_to_locale(const char *s, int len, unsigned int codepage) /* OD: Attempt to convert a string in the current locale to UTF-8 */ FL_EXPORT char *fl_locale_to_utf8(const char *s, int len, unsigned int codepage); +#elif defined(__APPLE__) + // not needed +#elif defined(FL_PORTING) +# pragma message "FL_PORTING: do you want to be able to convert from a local charset to utf8?" +#else // X11 + // not needed #endif /***************************************************************************** -- cgit v1.2.3