summaryrefslogtreecommitdiff
path: root/src/xutf8
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2016-02-11 12:02:36 +0000
committerMatthias Melcher <fltk@matthiasm.com>2016-02-11 12:02:36 +0000
commit50ee3bcd66c4baa6bb3388f5b955d726bfc6bdd8 (patch)
tree4b62978d21ee57df7027461b8ea2846c17308d11 /src/xutf8
parenta3c0dac034c919c2714f3f129a9f5d9d26ae3de4 (diff)
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
Diffstat (limited to 'src/xutf8')
-rw-r--r--src/xutf8/is_right2left.c2
-rw-r--r--src/xutf8/keysym2Ucs.c2
-rw-r--r--src/xutf8/lcUniConv/cp936ext.h4
-rw-r--r--src/xutf8/utf8Input.c2
-rw-r--r--src/xutf8/utf8Utils.c2
-rw-r--r--src/xutf8/utf8Wrap.c2
6 files changed, 7 insertions, 7 deletions
diff --git a/src/xutf8/is_right2left.c b/src/xutf8/is_right2left.c
index 193820ee6..3d5b74006 100644
--- a/src/xutf8/is_right2left.c
+++ b/src/xutf8/is_right2left.c
@@ -14,7 +14,7 @@
* http://www.fltk.org/str.php
*/
-#if defined(WIN32) || defined(__APPLE__)
+#if defined(WIN32) || defined(__APPLE__) // PORTME: platform unicode
#elif defined(FL_PORTING)
# pragma message "FL_PORTING: utf8 functionality"
#else
diff --git a/src/xutf8/keysym2Ucs.c b/src/xutf8/keysym2Ucs.c
index 1629d0934..cb45c52f8 100644
--- a/src/xutf8/keysym2Ucs.c
+++ b/src/xutf8/keysym2Ucs.c
@@ -17,7 +17,7 @@
#define KEYSYM2UCS_INCLUDED
#if defined(WIN32)
-#elif defined(__APPLE__)
+#elif defined(__APPLE__) // PORTME: platform unicode
#elif defined(FL_PORTING)
# pragma message "FL_PORTING: do you want to include Xutf8.h?"
#else
diff --git a/src/xutf8/lcUniConv/cp936ext.h b/src/xutf8/lcUniConv/cp936ext.h
index 765a15a8b..8d0207ff8 100644
--- a/src/xutf8/lcUniConv/cp936ext.h
+++ b/src/xutf8/lcUniConv/cp936ext.h
@@ -16,7 +16,7 @@
* http://www.fltk.org/str.php
*/
-#if defined(WIN32) || defined(__APPLE__)
+#if defined(WIN32) || defined(__APPLE__) // PORTME: is this really needed? It's huge!
// not needed
@@ -6251,7 +6251,7 @@ cp936ext_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n)
#endif /* CP936 */
-#endif /* __APPLE__ WIN32 */
+#endif /* __APPLE__ WIN32 */ // PORTME: Unicode stuff
/*
* End of "$Id$".
diff --git a/src/xutf8/utf8Input.c b/src/xutf8/utf8Input.c
index 392483c52..a1f6edcc8 100644
--- a/src/xutf8/utf8Input.c
+++ b/src/xutf8/utf8Input.c
@@ -15,7 +15,7 @@
*/
#if defined(WIN32)
-#elif defined(__APPLE__)
+#elif defined(__APPLE__) // PORTME: platform unicode
#elif defined(FL_PORTING)
# pragma message "FL_PORTING: do you want to include Xutf8.h?"
#else
diff --git a/src/xutf8/utf8Utils.c b/src/xutf8/utf8Utils.c
index 2544779ce..bb429f7a1 100644
--- a/src/xutf8/utf8Utils.c
+++ b/src/xutf8/utf8Utils.c
@@ -14,7 +14,7 @@
* http://www.fltk.org/str.php
*/
-#if defined(WIN32) || defined(__APPLE__)
+#if defined(WIN32) || defined(__APPLE__) // PORTME: platform unicode
#elif defined(FL_PORTING)
# pragma message "FL_PORTING: utf8"
#else
diff --git a/src/xutf8/utf8Wrap.c b/src/xutf8/utf8Wrap.c
index 53e97a551..8bc1d49bb 100644
--- a/src/xutf8/utf8Wrap.c
+++ b/src/xutf8/utf8Wrap.c
@@ -14,7 +14,7 @@
* http://www.fltk.org/str.php
*/
-#if defined(WIN32) || defined(__APPLE__)
+#if defined(WIN32) || defined(__APPLE__) // PORTME: platform unicode
#elif defined(FL_PORTING)
# pragma message "FL_PORTING: utf8"
#else