mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
Cleanups
This commit is contained in:
parent
8920f6aabd
commit
acd1ad656a
27
file_ops.c
27
file_ops.c
@ -40,33 +40,6 @@
|
|||||||
#include "decompress/zip_support.h"
|
#include "decompress/zip_support.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __HAIKU__
|
|
||||||
#include <kernel/image.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(_WIN32)
|
|
||||||
#ifdef _MSC_VER
|
|
||||||
#define setmode _setmode
|
|
||||||
#endif
|
|
||||||
#ifdef _XBOX
|
|
||||||
#include <xtl.h>
|
|
||||||
#define INVALID_FILE_ATTRIBUTES -1
|
|
||||||
#else
|
|
||||||
#include <io.h>
|
|
||||||
#include <fcntl.h>
|
|
||||||
#include <direct.h>
|
|
||||||
#include <windows.h>
|
|
||||||
#endif
|
|
||||||
#elif defined(VITA)
|
|
||||||
#include <psp2/io/fcntl.h>
|
|
||||||
#include <psp2/io/dirent.h>
|
|
||||||
#else
|
|
||||||
#include <sys/types.h>
|
|
||||||
#include <sys/stat.h>
|
|
||||||
#include <dirent.h>
|
|
||||||
#include <unistd.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* write_file:
|
* write_file:
|
||||||
* @path : path to file.
|
* @path : path to file.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user