mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-27 00:03:37 +01:00
android: Change preprocessor define to standard __ANDROID__
ANDROID is only standard to the old Makefile buildsystem, not the platform.
This commit is contained in:
1 parent
4f655f8f3c
commit
70593d1004
54 files changed
+119
-123
No files matched your search
@@ -212,7 +212,7 @@ void *AllocateAlignedMemory(size_t size, size_t alignment) {
|
||||
void* ptr = _aligned_malloc(size,alignment);
|
||||
#else
|
||||
void* ptr = NULL;
|
||||
#ifdef ANDROID
|
||||
#ifdef __ANDROID__
|
||||
ptr = memalign(alignment, size);
|
||||
#else
|
||||
if (posix_memalign(&ptr, alignment, size) != 0)
|
||||
|
||||
Reference in new issue
Block a user