mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 03:32:46 +00:00
Add some __WINRT__ ifdefs
This commit is contained in:
parent
e2ff7478ca
commit
7250181319
@ -356,6 +356,8 @@ static const bool _avfoundation_supp = false;
|
||||
#else
|
||||
#define GLOBAL_CONFIG_DIR "/etc"
|
||||
#endif
|
||||
#else
|
||||
#define GLOBAL_CONFIG_DIR ""
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
@ -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);
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
#include <file/nbio.h>
|
||||
|
||||
#if defined(_WIN32) && !defined(_XBOX)
|
||||
#if defined(_WIN32) && !defined(_XBOX) && !defined(__WINRT__)
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user