diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2016-01-03 22:54:29 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2016-01-03 22:54:29 +0000 |
| commit | acf6c881d36b675d755433d3cf48613bc46ed78d (patch) | |
| tree | 13cebc8f8fd918767595da12fafb5a600db2feb3 /src/xutf8 | |
| parent | 933b00b9c9fe55d01a7f1c4831f171482806f85b (diff) | |
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
Diffstat (limited to 'src/xutf8')
| -rw-r--r-- | src/xutf8/is_right2left.c | 6 | ||||
| -rw-r--r-- | src/xutf8/lcUniConv/cp936ext.h | 10 | ||||
| -rw-r--r-- | src/xutf8/utf8Utils.c | 6 | ||||
| -rw-r--r-- | src/xutf8/utf8Wrap.c | 6 |
4 files changed, 27 insertions, 1 deletions
diff --git a/src/xutf8/is_right2left.c b/src/xutf8/is_right2left.c index 69a612a48..19685ad5c 100644 --- a/src/xutf8/is_right2left.c +++ b/src/xutf8/is_right2left.c @@ -14,6 +14,12 @@ * http://www.fltk.org/str.php */ +#if defined(WIN32) || defined(__APPLE__) +#elif defined(FL_PORTING) +# pragma message "FL_PORTING: utf8 functionality" +#else +#endif + /* * This file is required on all platforms for utf8 support */ diff --git a/src/xutf8/lcUniConv/cp936ext.h b/src/xutf8/lcUniConv/cp936ext.h index e41db3f5d..765a15a8b 100644 --- a/src/xutf8/lcUniConv/cp936ext.h +++ b/src/xutf8/lcUniConv/cp936ext.h @@ -16,7 +16,15 @@ * http://www.fltk.org/str.php */ -#if !defined(WIN32) && !defined(__APPLE__) +#if defined(WIN32) || defined(__APPLE__) + + // not needed + +#elif defined(FL_PORTING) + +# pragma message "FL_PORTING: include the character encoding file below if needed" + +#else #ifndef CP936 #ifdef NEED_TOWC diff --git a/src/xutf8/utf8Utils.c b/src/xutf8/utf8Utils.c index 54bbccf4c..17d49d34c 100644 --- a/src/xutf8/utf8Utils.c +++ b/src/xutf8/utf8Utils.c @@ -14,6 +14,12 @@ * http://www.fltk.org/str.php */ +#if defined(WIN32) || defined(__APPLE__) +#elif defined(FL_PORTING) +# pragma message "FL_PORTING: utf8" +#else +#endif + /* * Unicode to UTF-8 conversion functions. */ diff --git a/src/xutf8/utf8Wrap.c b/src/xutf8/utf8Wrap.c index 7b52c0e5e..32619fe0a 100644 --- a/src/xutf8/utf8Wrap.c +++ b/src/xutf8/utf8Wrap.c @@ -14,6 +14,12 @@ * http://www.fltk.org/str.php */ +#if defined(WIN32) || defined(__APPLE__) +#elif defined(FL_PORTING) +# pragma message "FL_PORTING: utf8" +#else +#endif + /* * X11 UTF-8 text drawing functions. */ |
