Committing NON-WORKING cil tools directory. This code all needs
[ocaml-bitstring.git] / cil-tools / bitmatch-import-prefix.h
index d7f769a..a3ed5ff 100644 (file)
@@ -2,6 +2,13 @@
  * and provides some macros that we need for CIL.
  */
 
+/* This is needed for older versions of CIL which didn't
+ * support this C99 type.
+ */
+#ifndef _Bool
+#define _Bool unsigned
+#endif
+
 #define BITMATCH_IMPORT(name) __bitmatch_import_##name
 #define BITMATCH_CONSTANT_STRING(name,val) \
   char *__bitmatch_constant_##name = val