summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorIdo Barnea <ibarnea@cisco.com>2016-07-22 01:20:35 +0200
committerThomas Monjalon <thomas.monjalon@6wind.com>2016-07-22 01:20:35 +0200
commitee5b56e4c91decb5d40141701e7cddd23e70d596 (patch)
tree29c76fee3f78bfaf71c5f91dc60617394079ba2b /drivers
parent892741d220534ca7678ff1789779b464388fa727 (diff)
downloaddpdk-ee5b56e4c91decb5d40141701e7cddd23e70d596.zip
dpdk-ee5b56e4c91decb5d40141701e7cddd23e70d596.tar.gz
dpdk-ee5b56e4c91decb5d40141701e7cddd23e70d596.tar.xz
net/ixgbe/base: fix C++ build
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ixgbe/base/ixgbe_osdep.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ixgbe/base/ixgbe_osdep.h b/drivers/net/ixgbe/base/ixgbe_osdep.h
index 31cc1bef..06d1ee1 100644
--- 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()