diff options
Diffstat (limited to 'third_party/g7221/common/stl-files/typedef.h')
-rw-r--r-- | third_party/g7221/common/stl-files/typedef.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/third_party/g7221/common/stl-files/typedef.h b/third_party/g7221/common/stl-files/typedef.h index 6c06541f..9b0ef44c 100644 --- a/third_party/g7221/common/stl-files/typedef.h +++ b/third_party/g7221/common/stl-files/typedef.h @@ -16,6 +16,22 @@ #ifndef TYPEDEF_H #define TYPEDEF_H "$Id $" +#if 1 + +/* Use PJLIB types definitions (for PJLIB sync'd platforms compatibility? + * e.g: mingw32 was not supported by the original version). + */ +#include <pj/types.h> + +typedef pj_int8_t Word8; +typedef pj_int16_t Word16; +typedef pj_int32_t Word32; +typedef pj_uint16_t UWord16; +typedef pj_uint32_t UWord32; +typedef int Flag; + +#else + #include <limits.h> #if defined(__BORLANDC__) || defined(__WATCOMC__) || defined(_MSC_VER) || defined(__ZTC__) || defined(__CYGWIN__) @@ -52,4 +68,7 @@ typedef unsigned int UWord32; typedef unsigned long UWord32; #endif +#endif /* if 0 */ + #endif /* TYPEDEF_H */ + |