diff options
Diffstat (limited to 'mpqlib-stdint.h')
-rw-r--r-- | mpqlib-stdint.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mpqlib-stdint.h b/mpqlib-stdint.h new file mode 100644 index 0000000..1dc4e2d --- /dev/null +++ b/mpqlib-stdint.h @@ -0,0 +1,14 @@ +#ifndef __STD_INT_H_ +#define __STD_INT_H_ + +#ifdef WIN32 +typedef unsigned char uint8_t; +typedef unsigned short int uint16_t; +typedef signed long int int32_t; +typedef unsigned long int uint32_t; +typedef unsigned __int64 uint64_t; +#else +#include <stdint.h> +#endif + +#endif |