mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-05 01:16:38 +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);
|
||||
}
|
||||
|
||||
#if !defined(RARCH_CONSOLE)
|
||||
bool fill_pathname_application_data(char *s, size_t len)
|
||||
{
|
||||
#if defined(_WIN32) && !defined(_XBOX)
|
||||
@ -162,7 +161,7 @@ bool fill_pathname_application_data(char *s, size_t len)
|
||||
"Library/Application Support", len);
|
||||
return true;
|
||||
}
|
||||
#elif !defined(__CELLOS_LV2__) && !defined(_XBOX)
|
||||
#elif !defined(RARCH_CONSOLE)
|
||||
const char *xdg = getenv("XDG_CONFIG_HOME");
|
||||
const char *appdata = getenv("HOME");
|
||||
|
||||
@ -189,6 +188,7 @@ bool fill_pathname_application_data(char *s, size_t len)
|
||||
return false;
|
||||
}
|
||||
|
||||
#if !defined(RARCH_CONSOLE)
|
||||
void fill_pathname_application_path(char *s, size_t len)
|
||||
{
|
||||
#ifdef __APPLE__
|
||||
|
@ -22,8 +22,6 @@
|
||||
|
||||
#include <boolean.h>
|
||||
|
||||
#if !defined(RARCH_CONSOLE)
|
||||
bool fill_pathname_application_data(char *s, size_t len);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user