inttypes.h apparently doesn't exist with VC++. Therefore, use the

built-in types __int8, __int16 and so on on that platform.
This commit is contained in:
Richard Levitte 2001-11-21 13:26:57 +00:00
parent c6d14d26fd
commit 595241e17f

View File

@ -9,7 +9,14 @@
*
*/
#ifdef WIN32
typedef unsigned __int8 uint8_t;
typedef unsigned __int16 uint16_t;
typedef unsigned __int32 uint32_t;
typedef unsigned __int64 uint64_t;
#else
#include <inttypes.h>
#endif
/*Successful return value*/
#define AEP_R_OK 0x00000000