aboutsummaryrefslogtreecommitdiff
path: root/xtract/xtract_helper.h
diff options
context:
space:
mode:
authorJamie Bullock <jamie@jamiebullock.com>2014-03-27 14:56:36 +0000
committerJamie Bullock <jamie@jamiebullock.com>2014-03-27 14:56:36 +0000
commitf5423497d2d4718fc3385003329a135ee8078615 (patch)
tree0669b31b8ca90444b4e92c7c239568d2729c11c9 /xtract/xtract_helper.h
parent0bb0f22ddec2de97f7938916c9cf278b99e6a9e7 (diff)
parent8e718bfda48218dc4f007cad578d308227f2bb41 (diff)
downloadLibXtract-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.h11
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