diff --git a/libretro-common/file/file_path.c b/libretro-common/file/file_path.c index 4830898775..df129dbb7c 100644 --- a/libretro-common/file/file_path.c +++ b/libretro-common/file/file_path.c @@ -1107,7 +1107,7 @@ void path_basedir_wrapper(char *path) snprintf(path, 3, ".%s", path_default_slash()); } -#if !defined(RARCH_CONSOLE) +#if !defined(RARCH_CONSOLE) && defined(RARCH_INTERNAL) void fill_pathname_application_path(char *s, size_t len) { size_t i; diff --git a/libretro-common/include/file/file_path.h b/libretro-common/include/file/file_path.h index 85f190c6ad..4a29494d98 100644 --- a/libretro-common/include/file/file_path.h +++ b/libretro-common/include/file/file_path.h @@ -454,7 +454,7 @@ void path_basedir_wrapper(char *path); **/ void fill_pathname_slash(char *path, size_t size); -#ifndef RARCH_CONSOLE +#if !defined(RARCH_CONSOLE) && defined(RARCH_INTERNAL) void fill_pathname_application_path(char *buf, size_t size); #endif