mirror of
https://github.com/vivier/EMILE.git
synced 2025-01-03 12:31:57 +00:00
Don't define u_int8_t, u_int16_t, etc if sys/types.h has already been included (avoid warning with gcc 3.3)
This commit is contained in:
parent
1bb375da59
commit
f7868fb753
@ -7,6 +7,7 @@
|
|||||||
#ifndef __MACOS_TYPES_H__
|
#ifndef __MACOS_TYPES_H__
|
||||||
#define __MACOS_TYPES_H__
|
#define __MACOS_TYPES_H__
|
||||||
|
|
||||||
|
#ifndef _SYS_TYPES_H
|
||||||
#ifdef ARCH_M68K
|
#ifdef ARCH_M68K
|
||||||
typedef unsigned char u_int8_t;
|
typedef unsigned char u_int8_t;
|
||||||
typedef signed char int8_t;
|
typedef signed char int8_t;
|
||||||
@ -15,6 +16,7 @@ typedef signed short int16_t;
|
|||||||
typedef unsigned int u_int32_t;
|
typedef unsigned int u_int32_t;
|
||||||
typedef signed int int32_t;
|
typedef signed int int32_t;
|
||||||
#endif /* ARCH_M68K */
|
#endif /* ARCH_M68K */
|
||||||
|
#endif /* _SYS_TYPES_H */
|
||||||
|
|
||||||
typedef int16_t OSErr;
|
typedef int16_t OSErr;
|
||||||
typedef unsigned long FourCharCode;
|
typedef unsigned long FourCharCode;
|
||||||
|
Loading…
Reference in New Issue
Block a user