From d8ef4914d79ec3e0e112e45b3f897296cc56cf86 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/platform.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/platform.h b/include/platform.h index 8c1ce7b45..b0d1a2d8e 100644 --- a/include/platform.h +++ b/include/platform.h @@ -32,7 +32,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;