From 7bcb4a1faf5c7a19767df6c8846b8182d463a904 Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Fri, 9 Mar 2012 07:57:00 +0000 Subject: [PATCH] OS X: Since the posix_memalign function causes problems when running on 10.5, not just building, I am making this more "risky/daring" change because OS X guarantees 16 byte alignment so it should be safe. git-svn-id: https://svn.eduke32.com/eduke32@2434 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/sdlmusic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polymer/eduke32/source/sdlmusic.c b/polymer/eduke32/source/sdlmusic.c index 58c52f7d4..0da0b6e7c 100644 --- a/polymer/eduke32/source/sdlmusic.c +++ b/polymer/eduke32/source/sdlmusic.c @@ -179,7 +179,7 @@ int32_t MUSIC_Init(int32_t SoundCard, int32_t Address) sz = (numargs+2)*sizeof(char *) + (c-command+1); sz = ((sz+pagesize-1)/pagesize)*pagesize; -#if defined(NEDMALLOC) || (defined(__APPLE__) && defined(DARWIN9)) +#if defined(NEDMALLOC) || defined(__APPLE__) external_midi_argv = Bcalloc(1,sz+pagesize); if (!external_midi_argv) goto fallback;