shithub: aubio

Download patch

ref: e27b6a1f6b27f25b5dd2324da8172c706da2ccd7
parent: 999b182306343eb1124e9ad0c0b4f4ce42b7694b
author: Paul Brossier <piem@piem.org>
date: Sun May 15 13:17:44 EDT 2016

python/lib/moresetuptools.py: define HAVE_WIN_HACKS on windows

--- a/python/lib/moresetuptools.py
+++ b/python/lib/moresetuptools.py
@@ -96,6 +96,9 @@
         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: