all repos — mgba @ b65992a1b8dbc6b8309cce8030fe734c4755d71a

mGBA Game Boy Advance Emulator

PSP2: Update for new toolchain
Vicki Pfau vi@endrift.com
Mon, 17 Apr 2017 01:12:23 -0700
commit

b65992a1b8dbc6b8309cce8030fe734c4755d71a

parent

b486223532adbc5bb55d9306cf31709d226e4c79

2 files changed, 5 insertions(+), 1 deletions(-)

jump to
M include/mgba-util/common.hinclude/mgba-util/common.h

@@ -56,6 +56,11 @@ #include <unistd.h>

#include <sys/time.h> #endif +#ifdef PSP2 +// For PATH_MAX on modern toolchains +#include <sys/syslimits.h> +#endif + #ifndef SSIZE_MAX #define SSIZE_MAX ((ssize_t) (SIZE_MAX >> 1)) #endif
M src/platform/psp2/main.csrc/platform/psp2/main.c

@@ -16,7 +16,6 @@ #include <psp2/ctrl.h>

#include <psp2/display.h> #include <psp2/kernel/processmgr.h> #include <psp2/kernel/threadmgr.h> -#include <psp2/moduleinfo.h> #include <psp2/power.h> #include <psp2/sysmodule.h> #include <psp2/touch.h>