Commit 595241e1 authored by Richard Levitte's avatar Richard Levitte
Browse files

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

built-in types __int8, __int16 and so on on that platform.
parent c6d14d26
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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