merge essej's fix for OS X

git-svn-id: svn://localhost/ardour2/trunk@1956 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis
2007-06-06 01:16:05 +00:00
parent 7852cc219c
commit 3718a85c29

View File

@@ -59,7 +59,12 @@ FPU::FPU ()
char* fxbuf = 0;
if (posix_memalign ((void**)&fxbuf, 16, 512)) {
#ifdef NO_POSIX_MEMALIGN
if ((fxbuf = (char *) malloc(512)) == 0)
#else
if (posix_memalign ((void**)&fxbuf, 16, 512))
#endif
{
error << _("cannot allocate 16 byte aligned buffer for h/w feature detection") << endmsg;
} else {