mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 18:40:49 +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
|
#else
|
||||||
#define GLOBAL_CONFIG_DIR "/etc"
|
#define GLOBAL_CONFIG_DIR "/etc"
|
||||||
#endif
|
#endif
|
||||||
|
#else
|
||||||
|
#define GLOBAL_CONFIG_DIR ""
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -63,12 +63,14 @@ void create_gdi_context(HWND hwnd, bool *quit);
|
|||||||
|
|
||||||
bool gdi_has_menu_frame(void);
|
bool gdi_has_menu_frame(void);
|
||||||
|
|
||||||
|
#if !defined(__WINRT__)
|
||||||
bool win32_window_init(WNDCLASSEX *wndclass, bool fullscreen, const char *class_name);
|
bool win32_window_init(WNDCLASSEX *wndclass, bool fullscreen, const char *class_name);
|
||||||
|
|
||||||
void win32_set_style(MONITORINFOEX *current_mon, HMONITOR *hm_to_use,
|
void win32_set_style(MONITORINFOEX *current_mon, HMONITOR *hm_to_use,
|
||||||
unsigned *width, unsigned *height, bool fullscreen, bool windowed_full,
|
unsigned *width, unsigned *height, bool fullscreen, bool windowed_full,
|
||||||
RECT *rect, RECT *mon_rect, DWORD *style);
|
RECT *rect, RECT *mon_rect, DWORD *style);
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
void win32_monitor_from_window(void);
|
void win32_monitor_from_window(void);
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
#include <file/nbio.h>
|
#include <file/nbio.h>
|
||||||
|
|
||||||
#if defined(_WIN32) && !defined(_XBOX)
|
#if defined(_WIN32) && !defined(_XBOX) && !defined(__WINRT__)
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
@ -57,6 +57,7 @@ typedef struct ui_companion_win32
|
|||||||
void *empty;
|
void *empty;
|
||||||
} ui_companion_win32_t;
|
} ui_companion_win32_t;
|
||||||
|
|
||||||
|
#ifndef __WINRT__
|
||||||
bool win32_window_init(WNDCLASSEX *wndclass,
|
bool win32_window_init(WNDCLASSEX *wndclass,
|
||||||
bool fullscreen, const char *class_name)
|
bool fullscreen, const char *class_name)
|
||||||
{
|
{
|
||||||
@ -79,7 +80,7 @@ bool win32_window_init(WNDCLASSEX *wndclass,
|
|||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static bool win32_browser(
|
static bool win32_browser(
|
||||||
HWND owner,
|
HWND owner,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user