git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
892741d
)
net/ixgbe/base: fix C++ build
author
Ido Barnea
<ibarnea@cisco.com>
Thu, 21 Jul 2016 23:20:35 +0000
(
01:20
+0200)
committer
Thomas Monjalon
<thomas.monjalon@6wind.com>
Thu, 21 Jul 2016 23:20:35 +0000
(
01:20
+0200)
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
drivers/net/ixgbe/base/ixgbe_osdep.h
patch
|
blob
|
history
diff --git
a/drivers/net/ixgbe/base/ixgbe_osdep.h
b/drivers/net/ixgbe/base/ixgbe_osdep.h
index
31cc1be
..
06d1ee1
100644
(file)
--- a/
drivers/net/ixgbe/base/ixgbe_osdep.h
+++ b/
drivers/net/ixgbe/base/ixgbe_osdep.h
@@
-108,7
+108,9
@@
typedef int16_t s16;
typedef uint32_t u32;
typedef int32_t s32;
typedef uint64_t u64;
+#ifndef __cplusplus
typedef int bool;
+#endif
#define mb() rte_mb()
#define wmb() rte_wmb()