net/ixgbe/base: fix C++ build
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
This commit is contained in:
parent
892741d220
commit
ee5b56e4c9
@ -108,7 +108,9 @@ typedef int16_t s16;
|
|||||||
typedef uint32_t u32;
|
typedef uint32_t u32;
|
||||||
typedef int32_t s32;
|
typedef int32_t s32;
|
||||||
typedef uint64_t u64;
|
typedef uint64_t u64;
|
||||||
|
#ifndef __cplusplus
|
||||||
typedef int bool;
|
typedef int bool;
|
||||||
|
#endif
|
||||||
|
|
||||||
#define mb() rte_mb()
|
#define mb() rte_mb()
|
||||||
#define wmb() rte_wmb()
|
#define wmb() rte_wmb()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user