summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-12-12 19:41:34 +0000
committerDavid Robillard <d@drobilla.net>2011-12-12 19:41:34 +0000
commite9bcf4aff61b5ec2f0352b0537897d925edd6d4b (patch)
treeba49c0d32dcd121c913b5bffc2c8d420074250e3
parentf25bd74cbd17f474318a075c8e383e33ea34798d (diff)
downloadingen-e9bcf4aff61b5ec2f0352b0537897d925edd6d4b.tar.gz
ingen-e9bcf4aff61b5ec2f0352b0537897d925edd6d4b.tar.bz2
ingen-e9bcf4aff61b5ec2f0352b0537897d925edd6d4b.zip
Fix check for posix_memalign.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3858 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--wscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/wscript b/wscript
index 49279094..b89286b5 100644
--- a/wscript
+++ b/wscript
@@ -79,6 +79,7 @@ def configure(conf):
# Check for posix_memalign (OSX, amazingly, doesn't have it)
conf.check(function_name='posix_memalign',
+ defines='_POSIX_SOURCE=1',
header_name='stdlib.h',
define_name='HAVE_POSIX_MEMALIGN',
mandatory=False)