(WinRT) Add more WINRT ifdefs

This commit is contained in:
twinaphex 2018-05-12 19:17:23 +02:00
parent bf76005618
commit cc5393e54d
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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");