python/lib/moresetuptools.py: define HAVE_WIN_HACKS on windows
authorPaul Brossier <piem@piem.org>
Sun, 15 May 2016 15:17:44 +0000 (17:17 +0200)
committerPaul Brossier <piem@piem.org>
Sun, 15 May 2016 21:27:10 +0000 (23:27 +0200)
python/lib/moresetuptools.py

index f7ebf54..8c67e66 100644 (file)
@@ -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: