mirror of
https://github.com/libretro/RetroArch
synced 2025-03-25 16:44:01 +00:00
Buildfix for consoles
This commit is contained in:
parent
be7da8d626
commit
3a23afcaa9
@ -141,7 +141,6 @@ void fill_pathname_abbreviate_special(char *out_path,
|
|||||||
retro_assert(strlcpy(out_path, in_path, size) < size);
|
retro_assert(strlcpy(out_path, in_path, size) < size);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !defined(RARCH_CONSOLE)
|
|
||||||
bool fill_pathname_application_data(char *s, size_t len)
|
bool fill_pathname_application_data(char *s, size_t len)
|
||||||
{
|
{
|
||||||
#if defined(_WIN32) && !defined(_XBOX)
|
#if defined(_WIN32) && !defined(_XBOX)
|
||||||
@ -162,7 +161,7 @@ bool fill_pathname_application_data(char *s, size_t len)
|
|||||||
"Library/Application Support", len);
|
"Library/Application Support", len);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
#elif !defined(__CELLOS_LV2__) && !defined(_XBOX)
|
#elif !defined(RARCH_CONSOLE)
|
||||||
const char *xdg = getenv("XDG_CONFIG_HOME");
|
const char *xdg = getenv("XDG_CONFIG_HOME");
|
||||||
const char *appdata = getenv("HOME");
|
const char *appdata = getenv("HOME");
|
||||||
|
|
||||||
@ -189,6 +188,7 @@ bool fill_pathname_application_data(char *s, size_t len)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if !defined(RARCH_CONSOLE)
|
||||||
void fill_pathname_application_path(char *s, size_t len)
|
void fill_pathname_application_path(char *s, size_t len)
|
||||||
{
|
{
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
|
@ -22,8 +22,6 @@
|
|||||||
|
|
||||||
#include <boolean.h>
|
#include <boolean.h>
|
||||||
|
|
||||||
#if !defined(RARCH_CONSOLE)
|
|
||||||
bool fill_pathname_application_data(char *s, size_t len);
|
bool fill_pathname_application_data(char *s, size_t len);
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user