diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2017-10-16 09:28:30 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2017-10-16 09:28:30 +0200 |
commit | 26bc9bb629c49c0d5a8668a92c0c7b64626b65c7 (patch) | |
tree | bf04e8306be10882e2a02afc5d93b276396fb8fe /meson.build | |
parent | 7c283feb273c2df98a4b948c8f3005ae5d84c984 (diff) | |
download | uca-net-26bc9bb629c49c0d5a8668a92c0c7b64626b65c7.tar.gz uca-net-26bc9bb629c49c0d5a8668a92c0c7b64626b65c7.tar.bz2 uca-net-26bc9bb629c49c0d5a8668a92c0c7b64626b65c7.tar.xz uca-net-26bc9bb629c49c0d5a8668a92c0c7b64626b65c7.zip |
Fix #7: use glib-unix.h only on UNIX-like OSes
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 9c81a5d..8dcd4db 100644 --- a/meson.build +++ b/meson.build @@ -7,6 +7,7 @@ plugindir = uca_dep.get_pkgconfig_variable('plugindir') config = configuration_data() config.set('UCA_NET_DEFAULT_PORT', get_option('default_port')) +config.set('HAVE_UNIX', host_machine.system() != 'windows') configure_file( output: 'config.h', |