projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
memcpy: add hybrid
[fio.git]
/
lib
/
types.h
diff --git
a/lib/types.h
b/lib/types.h
index 287a3b42b7c462e1cb43cc1f7869e4fb93068fff..bb2450680872255cebdc0b7f121031dcafab4cd0 100644
(file)
--- a/
lib/types.h
+++ b/
lib/types.h
@@
-1,7
+1,7
@@
#ifndef FIO_TYPES_H
#define FIO_TYPES_H
-#if
ndef CONFIG_HAVE_BOOL
+#if
!defined(CONFIG_HAVE_BOOL) && !defined(__cplusplus)
typedef int bool;
#ifndef false
#define false 0