From e27b6a1f6b27f25b5dd2324da8172c706da2ccd7 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sun, 15 May 2016 17:17:44 +0200 Subject: [PATCH] python/lib/moresetuptools.py: define HAVE_WIN_HACKS on windows --- python/lib/moresetuptools.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python/lib/moresetuptools.py b/python/lib/moresetuptools.py index f7ebf54b..8c67e66b 100644 --- a/python/lib/moresetuptools.py +++ b/python/lib/moresetuptools.py @@ -96,6 +96,9 @@ def add_local_aubio_sources(ext): ext.extra_link_args += ['-framework', 'Accelerate'] ext.define_macros += [('HAVE_ACCELERATE', 1)] + if sys.platform.startswith('win'): + ext.define_macros += [('HAVE_WIN_HACKS', 1)] + ext.define_macros += [('HAVE_WAVWRITE', 1)] ext.define_macros += [('HAVE_WAVREAD', 1)] # TODO: -- 2.11.0