summaryrefslogtreecommitdiff
path: root/lib/types.h
diff options
context:
space:
mode:
authordyniusz <dyniusz@fb.com>2017-05-04 12:17:34 -0700
committerdyniusz <dyniusz@fb.com>2017-05-04 12:17:34 -0700
commit966fcbd4c226d8c433b6e9f9dbd28c5efd442d82 (patch)
treeaaf4d9a9512ad64f40054dfb335048f012fc2bf2 /lib/types.h
parentc55fae03f7d5c0981e55241fc9003d762f7a5fd9 (diff)
downloadfio-966fcbd4c226d8c433b6e9f9dbd28c5efd442d82.tar.gz
fio-966fcbd4c226d8c433b6e9f9dbd28c5efd442d82.tar.bz2
Adjustments to support C++ engines
Diffstat (limited to 'lib/types.h')
-rw-r--r--lib/types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/types.h b/lib/types.h
index 287a3b42..bb245068 100644
--- a/lib/types.h
+++ b/lib/types.h
@@ -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