build: replace meson OS detection with variable
[dpdk.git] / buildtools / pmdinfogen / meson.build
index 7da415b..670528f 100644 (file)
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright(c) 2017 Intel Corporation
 
-if host_machine.system() == 'windows'
+if is_windows
        subdir_done()
 endif