dellepiane: modified uint definition for compatibility with vstudio

This commit is contained in:
matteodelle 2012-09-03 09:35:17 +00:00
parent 34655c22bf
commit 7cf395c033
1 changed files with 13 additions and 1 deletions

View File

@ -1,7 +1,19 @@
#ifndef GCACHE_CACHE_H
#define GCACHE_CACHE_H
#include <stdint.h>
#ifdef _MSC_VER
typedef __int16 int16_t;
typedef unsigned __int16 uint16_t;
typedef __int32 int32_t;
typedef unsigned __int32 uint32_t;
typedef __int64 int64_t;
typedef unsigned __int64 uint64_t;
#else
#include <stdint.h>
#endif
#include <iostream>
#include <limits.h>
#include <vector>