Mercurial > hg > libxtract
comparison xtract/xtract_helper.h @ 211:ef80f7c52c6d
add VC2012 project to compile static and dynamic lib, also fix some C
issues
author | Q <andrea@nocte.co.uk> |
---|---|
date | Thu, 27 Mar 2014 09:48:26 +0000 |
parents | baaa9d8b4d10 |
children | 8c768f32a6a8 |
comparison
equal
deleted
inserted
replaced
210:c99c00e1c508 | 211:ef80f7c52c6d |
---|---|
28 | 28 |
29 #ifdef __cplusplus | 29 #ifdef __cplusplus |
30 extern "C" { | 30 extern "C" { |
31 #endif | 31 #endif |
32 | 32 |
33 #include <stdbool.h> | 33 #ifdef _MSC_VER |
34 #ifndef __cplusplus | |
35 typedef int bool; | |
36 #define false 0 | |
37 #define true 1 | |
38 #endif | |
39 #else | |
40 #include <stdbool.h> | |
41 #endif | |
42 | |
34 | 43 |
35 /** | 44 /** |
36 * \defgroup helper helper functions | 45 * \defgroup helper helper functions |
37 * | 46 * |
38 * Declares helper functions, and their parameters. | 47 * Declares helper functions, and their parameters. |