summaryrefslogtreecommitdiffstats
path: root/common/VIL/l2l3_stack/tsx.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/VIL/l2l3_stack/tsx.h')
-rw-r--r--common/VIL/l2l3_stack/tsx.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/VIL/l2l3_stack/tsx.h b/common/VIL/l2l3_stack/tsx.h
index 8b748165..01bde702 100644
--- a/common/VIL/l2l3_stack/tsx.h
+++ b/common/VIL/l2l3_stack/tsx.h
@@ -16,8 +16,14 @@
#ifndef _TSX_H_
#define _RSX_H_
#include <rte_atomic.h>
+
+#ifndef TRUE
#define TRUE 1
+#endif
+
+#ifndef FALSE
#define FALSE 0
+#endif
volatile int mutex_val;