Skip to content
Snippets Groups Projects
Commit d3b5e515 authored by rswindell's avatar rswindell
Browse files

uchar is typedef'd instead of being defined as a macro if TYPEDEF_UCHAR

has been predefined.
This change was for better compatibility with the GoldEd+ source code base.
parent e895259d
No related branches found
No related tags found
No related merge requests found
...@@ -59,7 +59,11 @@ ...@@ -59,7 +59,11 @@
#endif #endif
#ifndef uchar #ifndef uchar
#define uchar unsigned char #if defined(TYPEDEF_UCHAR)
typedef unsigned char uchar;
#else
#define uchar unsigned char
#endif
#endif #endif
#ifdef __cplusplus #ifdef __cplusplus
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment