From cc5393e54d2e7d6d1e1537f8ebfa6e95d7fd498d Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 12 May 2018 19:17:23 +0200 Subject: [PATCH] (WinRT) Add more WINRT ifdefs --- configuration.c | 2 +- file_path_special.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configuration.c b/configuration.c index 0243e6a38b..4f1da3310b 100644 --- a/configuration.c +++ b/configuration.c @@ -2013,7 +2013,7 @@ static config_file_t *open_default_config_file(void) (void)path_size; -#if defined(_WIN32) && !defined(_XBOX) +#if defined(_WIN32) && !defined(_XBOX) && !defined(__WINRT__) fill_pathname_application_path(app_path, path_size); fill_pathname_resolve_relative(conf_path, app_path, file_path_str(FILE_PATH_MAIN_CONFIG), path_size); diff --git a/file_path_special.c b/file_path_special.c index e58d10032f..85313af6b4 100644 --- a/file_path_special.c +++ b/file_path_special.c @@ -63,7 +63,7 @@ bool fill_pathname_application_data(char *s, size_t len) { -#if defined(_WIN32) && !defined(_XBOX) +#if defined(_WIN32) && !defined(_XBOX) && !defined(__WINRT__) #ifdef LEGACY_WIN32 const char *appdata = getenv("APPDATA");