From b10616ffb7036b762fc9133b95bcdebc6f50f9b9 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 27 Dec 2017 21:49:56 +0100 Subject: [PATCH] Fix C89_BUILD --- gfx/common/win32_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/common/win32_common.c b/gfx/common/win32_common.c index d33ea925da..e03df00404 100644 --- a/gfx/common/win32_common.c +++ b/gfx/common/win32_common.c @@ -751,6 +751,7 @@ bool win32_window_create(void *data, unsigned style, RECT *mon_rect, unsigned width, unsigned height, bool fullscreen) { + DEV_BROADCAST_DEVICEINTERFACE notification_filter; settings_t *settings = config_get_ptr(); #ifndef _XBOX main_window.hwnd = CreateWindowEx(0, @@ -763,7 +764,6 @@ bool win32_window_create(void *data, unsigned style, if (!main_window.hwnd) return false; - DEV_BROADCAST_DEVICEINTERFACE notification_filter; ZeroMemory( ¬ification_filter, sizeof(notification_filter) ); notification_filter.dbcc_size = sizeof(DEV_BROADCAST_DEVICEINTERFACE); notification_filter.dbcc_devicetype = DBT_DEVTYP_DEVICEINTERFACE;