summaryrefslogtreecommitdiff
path: root/src/xutf8/utf8Wrap.c
diff options
context:
space:
mode:
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
/*********************************************************************/