summaryrefslogtreecommitdiff
path: root/lib/librte_eventdev/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'lib/librte_eventdev/meson.build')
-rw-r--r--lib/librte_eventdev/meson.build9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/librte_eventdev/meson.build b/lib/librte_eventdev/meson.build
index bd138bd..3cbaf29 100644
--- a/lib/librte_eventdev/meson.build
+++ b/lib/librte_eventdev/meson.build
@@ -1,8 +1,15 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Intel Corporation
-version = 4
+version = 5
allow_experimental_apis = true
+
+if host_machine.system() == 'linux'
+ cflags += '-DLINUX'
+else
+ cflags += '-DBSD'
+endif
+
sources = files('rte_eventdev.c',
'rte_event_ring.c',
'rte_event_eth_rx_adapter.c',