@@ -25,6 +25,8 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* System dependent filesystem routines */
+#include "../SDL_sysfilesystem.h"
+
#include <unistd.h>
char *SDL_SYS_GetBasePath(void)
#include <Foundation/Foundation.h>
#include <sys/stat.h>
#include <sys/types.h>
{
SDL_Unsupported();
@@ -23,6 +23,9 @@
#if defined(SDL_FSOPS_DUMMY)
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
+/* System dependent filesystem routines */
#include "../SDL_sysfilesystem.h"
int SDL_SYS_EnumerateDirectory(const char *path, const char *dirname, SDL_EnumerateDirectoryCallback cb, void *userdata)
@@ -24,6 +24,9 @@
#include <errno.h>
@@ -20,10 +20,11 @@
*/
#include "SDL_internal.h"
-
#include "../../core/windows/SDL_windows.h"
#include <SDL3/SDL_hints.h>
#include <SDL3/SDL_system.h>
#include <3ds.h>
#include <dirent.h>
@@ -23,14 +23,17 @@
#if defined(SDL_FSOPS_POSIX)
#include <stdio.h>
#include <string.h>
-#include "../SDL_sysfilesystem.h"
int retval = 1;
@@ -20,14 +20,16 @@
-#include <sys/stat.h>
-#include <unistd.h>
#ifdef SDL_FILESYSTEM_PS2
+#include <sys/stat.h>
+#include <unistd.h>
char *retval = NULL;
#ifdef SDL_FILESYSTEM_PSP
#include <kernel.h>
#include <swis.h>
#include <unixlib/local.h>
#include <shlobj.h>
#include <initguid.h>
#if defined(SDL_FSOPS_WINDOWS)
@@ -25,6 +25,9 @@
#ifdef SDL_PLATFORM_WINRT
extern "C" {