Fix a build error on iOS (#16903)
- Includes certain newly-required headers - Makes the use of the `IOS` macro consistent with other platform checks
This commit is contained in:
parent
fa0e6cc3ff
commit
518d719f38
|
@ -24,6 +24,9 @@
|
|||
#include <stdio.h>
|
||||
#include <dynamic/dylib.h>
|
||||
#include <encodings/utf.h>
|
||||
#include <string/stdstring.h>
|
||||
#include <retro_miscellaneous.h>
|
||||
#include <file/file_path.h>
|
||||
|
||||
#if defined(ORBIS)
|
||||
#include <orbis/libkernel.h>
|
||||
|
@ -127,7 +130,7 @@ dylib_t dylib_load(const char *path)
|
|||
#elif defined(ORBIS)
|
||||
int res;
|
||||
dylib_t lib = (dylib_t)sceKernelLoadStartModule(path, 0, NULL, 0, NULL, &res);
|
||||
#elif IOS
|
||||
#elif defined(IOS)
|
||||
dylib_t lib;
|
||||
static const char fw_suffix[] = ".framework";
|
||||
if (string_ends_with(path, fw_suffix))
|
||||
|
|
Loading…
Reference in New Issue