diff --git a/util/util.h b/util/util.h
index 4944ac5e2f13794f24b45c944c1d7672f9bc6b37..985917a4965cb04ee1d50b4580d4328ffad96d2c 100644 (file)
--- a/util/util.h
+++ b/util/util.h
/* align x to next highest multiple of 2^n */
#define ALIGN2(x,n) (((x) + ((1 << (n)) - 1)) & ~((1 << (n)) - 1))
+#ifndef __cplusplus
typedef enum {
false = 0,
true = 1
} bool;
+#endif
#include "list.h"