summaryrefslogtreecommitdiff
path: root/lib/types.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2017-10-03 11:19:26 -0600
committerJens Axboe <axboe@kernel.dk>2017-10-03 11:19:26 -0600
commite6fe02651641fc64d2fa4fcfe9b1013b2947d11b (patch)
tree400796752368e5bd4904882d3f1f36dfe4605590 /lib/types.h
parente4651d46b3fd5dc4c46a4a299a34974f93297170 (diff)
parent44c9d041dc17235981f66d69983f542fbfd48ab0 (diff)
downloadfio-e6fe02651641fc64d2fa4fcfe9b1013b2947d11b.tar.gz
fio-e6fe02651641fc64d2fa4fcfe9b1013b2947d11b.tar.bz2
Merge branch 'master' of https://github.com/dyniusz/fio
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