summaryrefslogtreecommitdiff
path: root/navit/support
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2011-01-25 15:02:38 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2011-01-25 15:02:38 +0000
commit4bbc113a0ea4ed7a2a94ac6acccf4f7eb6da2d48 (patch)
tree984af1536930d72eae6ca872d00f2376ce1d707c /navit/support
parent146425e5bc934a325d1d79b398c65a011445d9ef (diff)
downloadnavit-4bbc113a0ea4ed7a2a94ac6acccf4f7eb6da2d48.tar.gz
Add:support_win32:Define types for msvc
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4019 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/support')
-rw-r--r--navit/support/win32/stdint.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/navit/support/win32/stdint.h b/navit/support/win32/stdint.h
new file mode 100644
index 000000000..c382cfd97
--- /dev/null
+++ b/navit/support/win32/stdint.h
@@ -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 */