diff options
author | falkTX <falktx@falktx.com> | 2021-07-28 20:23:17 +0100 |
---|---|---|
committer | falkTX <falktx@falktx.com> | 2022-01-15 15:09:55 +0000 |
commit | fd562bdf13437e2d29e61f0e91bcde6af1ca1523 (patch) | |
tree | e9a0eec7a50f868a93917a71aa44d3b32ab55346 | |
parent | 3e6ca6b734b69e2f5dfb85935068e15006fb5acf (diff) | |
download | jack2-fd562bdf13437e2d29e61f0e91bcde6af1ca1523.tar.gz |
Fix custom win32 detection, fixes missing HAVE_ASIO macro
Signed-off-by: falkTX <falktx@falktx.com>
-rw-r--r-- | wscript | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -218,7 +218,7 @@ def configure(conf): if conf.env['IS_WINDOWS']: conf.env.append_unique('CCDEFINES', '_POSIX') conf.env.append_unique('CXXDEFINES', '_POSIX') - if Options.options.platform == 'msys': + if Options.options.platform in ('msys', 'win32'): conf.env.append_value('INCLUDES', ['/mingw64/include']) conf.check( header_name='asio.h', @@ -388,7 +388,7 @@ def configure(conf): # existing install paths that use ADDON_DIR rather than have to # have special cases for windows each time. conf.env['ADDON_DIR'] = conf.env['LIBDIR'] + '/jack' - if Options.options.platform == 'msys': + if Options.options.platform in ('msys', 'win32'): conf.define('ADDON_DIR', 'jack') conf.define('__STDC_FORMAT_MACROS', 1) # for PRIu64 else: |