From 52fa6009e4b6c220be5a1e4df26ddae87c4ec064 Mon Sep 17 00:00:00 2001 From: Nguyen Anh Quynh Date: Mon, 6 Mar 2017 14:40:30 +0800 Subject: [PATCH] fix some warnings on VS2010 on redefining INTxx_MIN, INTxx_MAX --- include/capstone/platform.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/capstone/platform.h b/include/capstone/platform.h index beca8e86f..4c5de08de 100644 --- a/include/capstone/platform.h +++ b/include/capstone/platform.h @@ -37,7 +37,7 @@ typedef unsigned char bool; #if defined(CAPSTONE_HAS_OSXKERNEL) || (defined(_MSC_VER) && (_MSC_VER <= 1700 || defined(_KERNEL_MODE))) // this system does not have inttypes.h -#if defined(_MSC_VER) && (_MSC_VER <= 1700 || defined(_KERNEL_MODE)) +#if defined(_MSC_VER) && (_MSC_VER < 1600 || defined(_KERNEL_MODE)) // this system does not have stdint.h typedef signed char int8_t; typedef signed short int16_t;