mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 14:01:25 +12:00
Mac OSX: fix includes & add missing functionality
This commit is contained in:
parent
f908a3ca78
commit
64cfab5b46
6 changed files with 55 additions and 4 deletions
9
Utilities/GNU.cpp
Normal file
9
Utilities/GNU.cpp
Normal file
|
@ -0,0 +1,9 @@
|
|||
#include "GNU.h"
|
||||
|
||||
#ifdef __APPLE__
|
||||
void * _aligned_malloc(size_t size, size_t alignment) {
|
||||
void *buffer;
|
||||
posix_memalign(&buffer, alignment, size);
|
||||
return buffer;
|
||||
}
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue