summaryrefslogtreecommitdiff
path: root/drivers/net/softnic
diff options
context:
space:
mode:
authorBruce Richardson <bruce.richardson@intel.com>2019-03-06 16:22:39 +0000
committerThomas Monjalon <thomas@monjalon.net>2019-03-12 17:31:22 +0100
commit742bde12f3bd008c2f06d744330436d8b1a56720 (patch)
treeaf30fda2aa2cda1fb00e6b0740ba11f1e4ce6469 /drivers/net/softnic
parent91d7846ce68d7c637cd7efde751f5276475aa9c8 (diff)
downloaddpdk-742bde12f3bd008c2f06d744330436d8b1a56720.zip
dpdk-742bde12f3bd008c2f06d744330436d8b1a56720.tar.gz
dpdk-742bde12f3bd008c2f06d744330436d8b1a56720.tar.xz
build/linux: rename macro from LINUXAPP to LINUX
Rename the macro to make things shorter and more comprehensible. For both meson and make builds, keep the old macro around for backward compatibility. Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Diffstat (limited to 'drivers/net/softnic')
-rw-r--r--drivers/net/softnic/rte_eth_softnic_tap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/softnic/rte_eth_softnic_tap.c b/drivers/net/softnic/rte_eth_softnic_tap.c
index bcc23a9..0cac876 100644
--- a/drivers/net/softnic/rte_eth_softnic_tap.c
+++ b/drivers/net/softnic/rte_eth_softnic_tap.c
@@ -3,7 +3,7 @@
*/
#include <netinet/in.h>
-#ifdef RTE_EXEC_ENV_LINUXAPP
+#ifdef RTE_EXEC_ENV_LINUX
#include <linux/if.h>
#include <linux/if_tun.h>
#endif
@@ -60,7 +60,7 @@ softnic_tap_find(struct pmd_internals *p,
return NULL;
}
-#ifndef RTE_EXEC_ENV_LINUXAPP
+#ifndef RTE_EXEC_ENV_LINUX
struct softnic_tap *
softnic_tap_create(struct pmd_internals *p __rte_unused,