diff --git a/config.features.h b/config.features.h index f05836d122..a9175e74f9 100644 --- a/config.features.h +++ b/config.features.h @@ -356,6 +356,8 @@ static const bool _avfoundation_supp = false; #else #define GLOBAL_CONFIG_DIR "/etc" #endif +#else +#define GLOBAL_CONFIG_DIR "" #endif #endif diff --git a/gfx/common/win32_common.h b/gfx/common/win32_common.h index f03940ce9d..04eeeef936 100644 --- a/gfx/common/win32_common.h +++ b/gfx/common/win32_common.h @@ -63,12 +63,14 @@ void create_gdi_context(HWND hwnd, bool *quit); bool gdi_has_menu_frame(void); +#if !defined(__WINRT__) bool win32_window_init(WNDCLASSEX *wndclass, bool fullscreen, const char *class_name); void win32_set_style(MONITORINFOEX *current_mon, HMONITOR *hm_to_use, unsigned *width, unsigned *height, bool fullscreen, bool windowed_full, RECT *rect, RECT *mon_rect, DWORD *style); #endif +#endif void win32_monitor_from_window(void); diff --git a/libretro-common/file/nbio/nbio_windowsmmap.c b/libretro-common/file/nbio/nbio_windowsmmap.c index 2bfd834a71..67860a3909 100644 --- a/libretro-common/file/nbio/nbio_windowsmmap.c +++ b/libretro-common/file/nbio/nbio_windowsmmap.c @@ -22,7 +22,7 @@ #include -#if defined(_WIN32) && !defined(_XBOX) +#if defined(_WIN32) && !defined(_XBOX) && !defined(__WINRT__) #include #include diff --git a/ui/drivers/ui_win32.c b/ui/drivers/ui_win32.c index aa3b075359..3811f365ae 100644 --- a/ui/drivers/ui_win32.c +++ b/ui/drivers/ui_win32.c @@ -57,6 +57,7 @@ typedef struct ui_companion_win32 void *empty; } ui_companion_win32_t; +#ifndef __WINRT__ bool win32_window_init(WNDCLASSEX *wndclass, bool fullscreen, const char *class_name) { @@ -79,7 +80,7 @@ bool win32_window_init(WNDCLASSEX *wndclass, return true; } - +#endif static bool win32_browser( HWND owner,