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:
parent
c6d14d26fd
commit
595241e17f
@ -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>
|
#include <inttypes.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/*Successful return value*/
|
/*Successful return value*/
|
||||||
#define AEP_R_OK 0x00000000
|
#define AEP_R_OK 0x00000000
|
||||||
|
Loading…
x
Reference in New Issue
Block a user