mirror of
https://github.com/FunKey-Project/picodrive-irixxxx.git
synced 2026-02-23 09:41:39 +01:00
libretro: don't build mremap for Switch on Linux.
This commit is contained in:
parent
e671a87bc9
commit
471be6a92f
@ -395,7 +395,7 @@ void *plat_mmap(unsigned long addr, size_t size, int need_exec, int is_fixed)
|
||||
|
||||
void *plat_mremap(void *ptr, size_t oldsize, size_t newsize)
|
||||
{
|
||||
#ifdef __linux__
|
||||
#if defined(__linux__) && !defined(__SWITCH__)
|
||||
void *ret = mremap(ptr, oldsize, newsize, 0);
|
||||
if (ret == MAP_FAILED)
|
||||
return NULL;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user