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:
@@ -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 {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user