From 50ee3bcd66c4baa6bb3388f5b955d726bfc6bdd8 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Thu, 11 Feb 2016 12:02:36 +0000 Subject: Mark places that need to be refactored with // PORTME: Searching for __APPLE, WIN32 or X11 did give me many false results. I instead marked most ifdef's that I would like to get rid of with the text // PORTME:, so they can be easily found by a global search. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11155 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/fl_utf8.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'FL/fl_utf8.h') diff --git a/FL/fl_utf8.h b/FL/fl_utf8.h index 2b283400d..5e2ab947e 100644 --- a/FL/fl_utf8.h +++ b/FL/fl_utf8.h @@ -53,7 +53,7 @@ # undef chdir # define chdir _chdir # endif -#elif defined(__APPLE__) +#elif defined(__APPLE__) // PORTME: should not be in the header # include # include # define xchar wchar_t @@ -164,7 +164,7 @@ 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__) +#elif defined(__APPLE__) // PORTME: platform text encoding and conversion // not needed #elif defined(FL_PORTING) # pragma message "FL_PORTING: do you want to be able to convert from a local charset to utf8?" -- cgit v1.2.3