diff options
Diffstat (limited to 'include/types.h')
-rw-r--r-- | include/types.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/types.h b/include/types.h index dbd711c94..81696aeea 100644 --- a/include/types.h +++ b/include/types.h @@ -43,7 +43,13 @@ #ifndef HAVE_BYTE_TYPEDEF #undef byte /* maybe there is a macro with this name */ - typedef unsigned char byte; + #ifndef __riscos__ + typedef unsigned char byte; + #else + /* FIXME it seems that char is unsigned by default and we workaround + * signed/unsigned mismacthes here. */ + typedef char byte; + #endif #define HAVE_BYTE_TYPEDEF #endif |