summaryrefslogtreecommitdiff
path: root/datatypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'datatypes.h')
-rw-r--r--datatypes.h15
1 files changed, 5 insertions, 10 deletions
diff --git a/datatypes.h b/datatypes.h
index 481c603..f9d35d7 100644
--- a/datatypes.h
+++ b/datatypes.h
@@ -31,17 +31,12 @@
#ifndef _DATATYPES_H_
#define _DATATYPES_H_
-typedef signed char int8_t;
-typedef unsigned char u_int8_t;
+#include<tr1/cstdint>
-typedef signed short int16;
-typedef unsigned short u_int16_t;
-
-typedef signed int int32;
-typedef unsigned int u_int32_t;
-
-typedef signed long long int64_t;
-typedef unsigned long long u_int64_t;
+typedef uint8_t u_int8_t;
+typedef uint16_t u_int16_t;
+typedef uint32_t u_int32_t;
+typedef uint64_t u_int64_t;
typedef u_int32_t window_size_t;