From 5d12368c83b5ecdfad54dccd2cc0823e13293559 Mon Sep 17 00:00:00 2001 From: Brad Parker Date: Thu, 10 Aug 2017 11:42:47 -0400 Subject: [PATCH] fix extern C usage for msvc2005 --- ui/drivers/win32/ui_win32_window.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ui/drivers/win32/ui_win32_window.cpp b/ui/drivers/win32/ui_win32_window.cpp index f868344fed..8a2c4243f5 100644 --- a/ui/drivers/win32/ui_win32_window.cpp +++ b/ui/drivers/win32/ui_win32_window.cpp @@ -75,7 +75,10 @@ static void ui_window_win32_set_title(void *data, char *buf) SetWindowText(window->hwnd, buf); } -extern "C" VOID (WINAPI *DragAcceptFiles_func)(HWND, BOOL); +extern "C" +{ + VOID (WINAPI *DragAcceptFiles_func)(HWND, BOOL); +} void ui_window_win32_set_droppable(void *data, bool droppable) {