diff --git a/gfx/common/win32_common.h b/gfx/common/win32_common.h index 6f899ad491..04a317155c 100644 --- a/gfx/common/win32_common.h +++ b/gfx/common/win32_common.h @@ -63,6 +63,8 @@ void create_gdi_context(HWND hwnd, bool *quit); bool gdi_has_menu_frame(void); +bool win32_get_video_output(DEVMODE *dm, int mode, size_t len); + #if !defined(__WINRT__) bool win32_window_init(WNDCLASSEX *wndclass, bool fullscreen, const char *class_name); @@ -101,8 +103,6 @@ void win32_check_window(bool *quit, void win32_set_window(unsigned *width, unsigned *height, bool fullscreen, bool windowed_full, void *rect_data); -bool win32_get_video_output(DEVMODE *dm, int mode, size_t len); - void win32_get_video_output_size( unsigned *width, unsigned *height); diff --git a/verbosity.c b/verbosity.c index 876e8c823b..55a155a34c 100644 --- a/verbosity.c +++ b/verbosity.c @@ -37,7 +37,7 @@ #include #endif -#if _WIN32 +#if defined(_WIN32) && !defined(_XBOX) #define WIN32_LEAN_AND_MEAN #include #endif