Split mutex.c and .h each into three files
[fio.git] / lib / types.h
index 287a3b42b7c462e1cb43cc1f7869e4fb93068fff..bb2450680872255cebdc0b7f121031dcafab4cd0 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef FIO_TYPES_H
 #define FIO_TYPES_H
 
-#ifndef CONFIG_HAVE_BOOL
+#if !defined(CONFIG_HAVE_BOOL) && !defined(__cplusplus)
 typedef int bool;
 #ifndef false
 #define false  0