net/mlx5: add C++ include guard to public header
[dpdk.git] / drivers / net / netvsc / meson.build
index f3f52f7..399400d 100644 (file)
@@ -1,8 +1,18 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright(c) 2018 Microsoft Corporation
 
-build = dpdk_conf.has('RTE_BUS_VMBUS')
-reason = 'missing dependency, DPDK VMBus driver'
-sources = files('hn_ethdev.c', 'hn_rxtx.c', 'hn_rndis.c', 'hn_nvs.c', 'hn_vf.c')
+if is_windows
+    build = false
+    reason = 'not supported on Windows'
+    subdir_done()
+endif
+
+deps += 'bus_vmbus'
+sources = files(
+        'hn_ethdev.c',
+        'hn_nvs.c',
+        'hn_rndis.c',
+        'hn_rxtx.c',
+        'hn_vf.c',
+)
 
-deps += ['bus_vmbus' ]