mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 06:44:27 +00:00
Change MAXIMUM_PATH define into PATH_MAX for rarch_console.h
This commit is contained in:
parent
261ac0e3e7
commit
215fa0426d
@ -17,19 +17,16 @@
|
|||||||
#ifndef CONSOLE_EXT_H__
|
#ifndef CONSOLE_EXT_H__
|
||||||
#define CONSOLE_EXT_H__
|
#define CONSOLE_EXT_H__
|
||||||
|
|
||||||
#ifdef _WIN32
|
#include <stdint.h>
|
||||||
#define MAXIMUM_PATH 260
|
#include <stddef.h>
|
||||||
#else
|
|
||||||
#define MAXIMUM_PATH 512
|
|
||||||
#endif
|
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
char core_dir[MAXIMUM_PATH];
|
char core_dir[PATH_MAX];
|
||||||
char port_dir[MAXIMUM_PATH];
|
char port_dir[PATH_MAX];
|
||||||
char savestate_dir[MAXIMUM_PATH];
|
char savestate_dir[PATH_MAX];
|
||||||
char sram_dir[MAXIMUM_PATH];
|
char sram_dir[PATH_MAX];
|
||||||
char system_dir[MAXIMUM_PATH];
|
char system_dir[PATH_MAX];
|
||||||
} default_paths_t;
|
} default_paths_t;
|
||||||
|
|
||||||
extern default_paths_t default_paths;
|
extern default_paths_t default_paths;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user