projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b201912
)
python/lib/moresetuptools.py: assume pthread is available except on windows
author
Paul Brossier
<piem@piem.org>
Mon, 10 Apr 2017 23:53:03 +0000
(
01:53
+0200)
committer
Paul Brossier
<piem@piem.org>
Mon, 10 Apr 2017 23:53:03 +0000
(
01:53
+0200)
python/lib/moresetuptools.py
patch
|
blob
|
history
diff --git
a/python/lib/moresetuptools.py
b/python/lib/moresetuptools.py
index
944d701
..
a513d60
100644
(file)
--- a/
python/lib/moresetuptools.py
+++ b/
python/lib/moresetuptools.py
@@
-72,6
+72,9
@@
def add_local_macros(ext, usedouble = False):
'HAVE_LIMITS_H', 'HAVE_STDARG_H',
'HAVE_MEMCPY_HACKS']:
ext.define_macros += [(define_macro, 1)]
+ # assume pthread is available except on windows
+ if os.name != 'nt':
+ ext.define_macros += [('HAVE_PTHREAD_H', 1)]
def add_external_deps(ext, usedouble = False):
# loof for additional packages