summaryrefslogtreecommitdiff
path: root/src/xutf8/utf8Wrap.c
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2010-11-30 11:05:38 +0000
committerMatthias Melcher <fltk@matthiasm.com>2010-11-30 11:05:38 +0000
commitcc4e22eabb7a1bab8380b3e178162e441d2a2289 (patch)
tree2bb9edb11109cc77ecf1de8a27a2b44caeb74abd /src/xutf8/utf8Wrap.c
parent8c56fc7e225b0d8d6ab9b3f9e4bce6758151ec62 (diff)
Fixed argument type in X11 calls (STR 2432)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7921 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/xutf8/utf8Wrap.c')
-rw-r--r--src/xutf8/utf8Wrap.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/xutf8/utf8Wrap.c b/src/xutf8/utf8Wrap.c
index bb3676d13..67b3d8da0 100644
--- a/src/xutf8/utf8Wrap.c
+++ b/src/xutf8/utf8Wrap.c
@@ -48,14 +48,16 @@
* XChar2b which does not have this problem
*/
+#if defined(__GNUC__) && defined(__arm__) && !defined(__ARM_EABI__)
typedef struct {
unsigned char byte1;
unsigned char byte2;
}
-#if defined(__GNUC__) && defined(__arm__) && !defined(__ARM_EABI__)
__attribute__ ((packed))
-#endif
Fl_XChar2b;
+#else
+#define Fl_XChar2b XChar2b
+#endif
/*********************************************************************/