Closed saulfabregwiivc closed 3 months ago
That part of the code is imported from the libretro-common repo. You should add a PR there too.
That part of the code is imported from the libretro-common repo. You should add a PR there too.
Actually, libretro-common has also this define of stdlib.h since time ago, lol: https://github.com/libretro/libretro-common/blob/master/memmap/memmap.c#L24
EDIT: The stdlib.h def was added in this 2023 commit: https://github.com/libretro/libretro-common/commit/92ad2fa6468d074f816971420220d59fd04b6af9#diff-95402424d6b7a8821d750ccc21ffa67972943beb96256ce8c5f1fd0f9b0b349eR24
Here we shut up (silence) a compiler warning produced when compiling the file platform/libretro/libretro-common/memmap/memmap.c when compiled for Libretro platforms, by adding the stdlib.h library definition.
I think with less warnings it's better, IMHO.