From cc4e22eabb7a1bab8380b3e178162e441d2a2289 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Tue, 30 Nov 2010 11:05:38 +0000 Subject: 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 --- src/xutf8/utf8Wrap.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/xutf8/utf8Wrap.c') 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 /*********************************************************************/ -- cgit v1.2.3