diff options
author | Q <andrea@nocte.co.uk> | 2014-03-27 09:48:26 +0000 |
---|---|---|
committer | Q <andrea@nocte.co.uk> | 2014-03-27 09:48:26 +0000 |
commit | cc719183cbc1fb6d2aebeb3150780d5c0e3f86e5 (patch) | |
tree | 65dcab27479085b99305a7a8a41beeefee37deb7 /xtract | |
parent | 0bb0f22ddec2de97f7938916c9cf278b99e6a9e7 (diff) | |
download | LibXtract-cc719183cbc1fb6d2aebeb3150780d5c0e3f86e5.tar.gz LibXtract-cc719183cbc1fb6d2aebeb3150780d5c0e3f86e5.tar.bz2 LibXtract-cc719183cbc1fb6d2aebeb3150780d5c0e3f86e5.zip |
add VC2012 project to compile static and dynamic lib, also fix some C
issues
Diffstat (limited to 'xtract')
-rw-r--r-- | xtract/xtract_helper.h | 11 |
1 files changed, 10 insertions, 1 deletions
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 <stdbool.h> +#ifdef _MSC_VER + #ifndef __cplusplus + typedef int bool; + #define false 0 + #define true 1 + #endif +#else + #include <stdbool.h> +#endif + /** * \defgroup helper helper functions |