From cc719183cbc1fb6d2aebeb3150780d5c0e3f86e5 Mon Sep 17 00:00:00 2001 From: Q Date: Thu, 27 Mar 2014 09:48:26 +0000 Subject: add VC2012 project to compile static and dynamic lib, also fix some C issues --- xtract/xtract_helper.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'xtract/xtract_helper.h') diff --git a/xtract/xtract_helper.h b/xtract/xtract_helper.h index bc5b892..9dabfbc 100644 --- a/xtract/xtract_helper.h +++ b/xtract/xtract_helper.h @@ -30,7 +30,16 @@ extern "C" { #endif -#include +#ifdef _MSC_VER + #ifndef __cplusplus + typedef int bool; + #define false 0 + #define true 1 + #endif +#else + #include +#endif + /** * \defgroup helper helper functions -- cgit v1.2.3