mirror of https://github.com/mgba-emu/mgba.git
PSP2: Update for new toolchain
This commit is contained in:
parent
b486223532
commit
b65992a1b8
|
@ -56,6 +56,11 @@ typedef intptr_t ssize_t;
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef PSP2
|
||||||
|
// For PATH_MAX on modern toolchains
|
||||||
|
#include <sys/syslimits.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef SSIZE_MAX
|
#ifndef SSIZE_MAX
|
||||||
#define SSIZE_MAX ((ssize_t) (SIZE_MAX >> 1))
|
#define SSIZE_MAX ((ssize_t) (SIZE_MAX >> 1))
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -16,7 +16,6 @@
|
||||||
#include <psp2/display.h>
|
#include <psp2/display.h>
|
||||||
#include <psp2/kernel/processmgr.h>
|
#include <psp2/kernel/processmgr.h>
|
||||||
#include <psp2/kernel/threadmgr.h>
|
#include <psp2/kernel/threadmgr.h>
|
||||||
#include <psp2/moduleinfo.h>
|
|
||||||
#include <psp2/power.h>
|
#include <psp2/power.h>
|
||||||
#include <psp2/sysmodule.h>
|
#include <psp2/sysmodule.h>
|
||||||
#include <psp2/touch.h>
|
#include <psp2/touch.h>
|
||||||
|
|
Loading…
Reference in New Issue