fix extern C usage for msvc2005

This commit is contained in:
Brad Parker 2017-08-10 11:42:47 -04:00
parent ff98730906
commit 5d12368c83

View File

@ -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)
{