mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-14 08:30:58 +00:00
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
This commit is contained in:
parent
40c5757e55
commit
7bcb4a1faf
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ int32_t MUSIC_Init(int32_t SoundCard, int32_t Address)
|
||||||
|
|
||||||
sz = (numargs+2)*sizeof(char *) + (c-command+1);
|
sz = (numargs+2)*sizeof(char *) + (c-command+1);
|
||||||
sz = ((sz+pagesize-1)/pagesize)*pagesize;
|
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);
|
external_midi_argv = Bcalloc(1,sz+pagesize);
|
||||||
if (!external_midi_argv)
|
if (!external_midi_argv)
|
||||||
goto fallback;
|
goto fallback;
|
||||||
|
|
Loading…
Reference in a new issue