summaryrefslogtreecommitdiff
path: root/mpqlib-stdint.h
diff options
context:
space:
mode:
authorpixel <pixel>2008-01-29 10:13:13 +0000
committerpixel <pixel>2008-01-29 10:13:13 +0000
commitaeb420d9f20f0973d428b5de0bd19f83c684bf54 (patch)
treebf9119050b3510bb12fc77fcfc5ed59ab6ab900b /mpqlib-stdint.h
parent6d8020e380791e063a70b3802fed2b72de7dcdec (diff)
Smoothing up win32 fixes.
Diffstat (limited to 'mpqlib-stdint.h')
-rw-r--r--mpqlib-stdint.h14
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