diff options
author | Jamie Bullock <jamie@jamiebullock.com> | 2014-03-27 14:56:36 +0000 |
---|---|---|
committer | Jamie Bullock <jamie@jamiebullock.com> | 2014-03-27 14:56:36 +0000 |
commit | f5423497d2d4718fc3385003329a135ee8078615 (patch) | |
tree | 0669b31b8ca90444b4e92c7c239568d2729c11c9 /xtract/xtract_helper.h | |
parent | 0bb0f22ddec2de97f7938916c9cf278b99e6a9e7 (diff) | |
parent | 8e718bfda48218dc4f007cad578d308227f2bb41 (diff) | |
download | LibXtract-f5423497d2d4718fc3385003329a135ee8078615.tar.gz LibXtract-f5423497d2d4718fc3385003329a135ee8078615.tar.bz2 LibXtract-f5423497d2d4718fc3385003329a135ee8078615.zip |
Merge pull request #58 from q-depot/master
add VC2012 project to compile static and dynamic lib, also fix some C
Diffstat (limited to 'xtract/xtract_helper.h')
-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 |