summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/wscript b/wscript
index e4494ffe..174e81c0 100644
--- a/wscript
+++ b/wscript
@@ -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: