summaryrefslogtreecommitdiffstats
path: root/src/pal
diff options
context:
space:
mode:
authorimarom <imarom@cisco.com>2015-08-09 23:36:58 -0400
committerimarom <imarom@cisco.com>2015-08-09 23:36:58 -0400
commita4766207c7cf1822730e2b5c7a233b27b9f8c0f5 (patch)
tree8579e29171fa3a846ca04249c1049c03561bef5b /src/pal
parentb77e4ab7fc3845efe0769723cadb007c3577ae1e (diff)
added support for C++ 2011
this includes refactoring the flags and adding for c++ the flag std=c++0x
Diffstat (limited to 'src/pal')
-rwxr-xr-xsrc/pal/linux_dpdk/dpdk180/rte_config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pal/linux_dpdk/dpdk180/rte_config.h b/src/pal/linux_dpdk/dpdk180/rte_config.h
index 68dd7a7b..0603ed06 100755
--- a/src/pal/linux_dpdk/dpdk180/rte_config.h
+++ b/src/pal/linux_dpdk/dpdk180/rte_config.h
@@ -1,5 +1,8 @@
#ifndef __RTE_CONFIG_H
#define __RTE_CONFIG_H
+
+#define typeof __typeof__
+
#undef RTE_EXEC_ENV
#define RTE_EXEC_ENV "linuxapp"
#undef RTE_EXEC_ENV_LINUXAPP