blob: 58b0012ed9fa5cf2c2d74ee0de9e0a76bf2f32ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2018 Luca Boccassi <bluca@debian.org>
if not is_linux
build = false
reason = 'only supported on linux'
endif
sources = files('vdev_netvsc.c')
cflags_options = [
'-D_BSD_SOURCE',
'-D_DEFAULT_SOURCE',
'-D_XOPEN_SOURCE=600'
]
foreach option:cflags_options
if cc.has_argument(option)
cflags += option
endif
endforeach
|