diff options
author | Christian Pointner <equinox@anylike.org> | 2010-01-03 16:19:01 +0000 |
---|---|---|
committer | Christian Pointner <equinox@anylike.org> | 2010-01-03 16:19:01 +0000 |
commit | c89fa4d230dbdf2d3f12301a916a7b2373d2de14 (patch) | |
tree | 503d9d7116bc972dafee170c5c4ed1adf11e69b9 /src/datatypes.h | |
parent | finally found the gnutls_strerror function ;) (diff) |
added Visual Studio Project
not working yet .. :(
Diffstat (limited to 'src/datatypes.h')
-rw-r--r-- | src/datatypes.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/datatypes.h b/src/datatypes.h index 051d62e..e9ee657 100644 --- a/src/datatypes.h +++ b/src/datatypes.h @@ -32,6 +32,7 @@ #ifndef ANYLIKE_datatypes_h_INCLUDED #define ANYLIKE_datatypes_h_INCLUDED +#ifndef _MSC_VER #include <stdint.h> typedef uint8_t u_int8_t; @@ -42,6 +43,16 @@ typedef uint64_t u_int64_t; /* typedef int16_t int16_t; */ /* typedef int32_t int32_t; */ /* typedef int64_t int64_t; */ +#else
+typedef signed __int8 int8_t;
+typedef unsigned __int8 u_int8_t;
+typedef signed __int16 int16_t;
+typedef unsigned __int16 u_int16_t;
+typedef signed __int32 int32_t;
+typedef unsigned __int32 u_int32_t;
+typedef signed __int64 int64_t;
+typedef unsigned __int64 u_int64_t; +#endif struct buffer_struct { u_int32_t length_; |