CIL: Include dynlink for OCaml 3.11.
[ocaml-bitstring.git] / cil-tools / bitstring-import-prefix.h
1 /* This file is automagically prefixed to all .ubd files
2  * and provides some macros that we need for CIL.
3  *
4  * This file is in the public domain.
5  */
6
7 /* This is needed for older versions of CIL which didn't
8  * support this C99 type.
9  */
10 #ifndef _Bool
11 #define _Bool unsigned
12 #endif
13
14 #define BITSTRING_IMPORT(name) __bitstring_import_##name
15 #define BITSTRING_CONSTANT_STRING(name,val) \
16   char *__bitstring_constant_##name = val
17 #define BITSTRING_CONSTANT_INT32(name,val) \
18   int __bitstring_constant_##name = val