From e9bcf4aff61b5ec2f0352b0537897d925edd6d4b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 12 Dec 2011 19:41:34 +0000 Subject: Fix check for posix_memalign. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3858 a436a847-0d15-0410-975c-d299462d15a1 --- wscript | 1 + 1 file changed, 1 insertion(+) (limited to 'wscript') 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) -- cgit v1.2.1