Add:support_win32:Define types for msvc
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Tue, 25 Jan 2011 15:02:38 +0000 (15:02 +0000)
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>
Tue, 25 Jan 2011 15:02:38 +0000 (15:02 +0000)
git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@4019 ffa7fe5e-494d-0410-b361-a75ebd5db220

navit/navit/support/win32/stdint.h [new file with mode: 0644]

diff --git a/navit/navit/support/win32/stdint.h b/navit/navit/support/win32/stdint.h
new file mode 100644 (file)
index 0000000..c382cfd
--- /dev/null
@@ -0,0 +1,12 @@
+#ifndef _MSC_VER
+#include_next <stdint.h>
+#else
+typedef signed char int8_t;
+typedef unsigned char   uint8_t;
+typedef short  int16_t;
+typedef unsigned short  uint16_t;
+typedef int  int32_t;
+typedef unsigned   uint32_t;
+typedef long long  int64_t;
+typedef unsigned long long   uint64_t;
+#endif /* _MSC_VER */