Fix building on AIX 5.1

This commit is contained in:
Like Ma
2020-10-09 18:34:00 +08:00
parent b951ad20a2
commit cc907770bd
9 changed files with 45 additions and 9 deletions
+5 -1
View File
@@ -45,7 +45,11 @@ extern "C" {
* Basic Types
*****************************************************************/
#if !defined (__VMS) && (defined (__cplusplus) || (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 */) )
# include <stdint.h>
# if defined(_AIX)
# include <inttypes.h>
# else
# include <stdint.h> /* intptr_t */
# endif
typedef uint8_t BYTE;
typedef uint16_t U16;
typedef int16_t S16;