Add a missing extern, to fix building with -fno-common

With C compilers defaulting to -fcommon, this isn't an issue, but
upcoming compilers (GCC 10 and Clang 11) will default to -fno-common,
ending up with duplicate definitions of these variables.
This commit is contained in:
Martin Storsjö 2020-04-05 00:43:16 +03:00
parent 1149502767
commit 25a53276e0

View File

@ -288,10 +288,10 @@ extern UINT _gdk_input_codepage;
extern guint _gdk_keymap_serial;
/* The singleton clipdrop object pointer */
GdkWin32Clipdrop *_win32_clipdrop;
extern GdkWin32Clipdrop *_win32_clipdrop;
/* Used to identify the main thread */
GThread *_win32_main_thread;
extern GThread *_win32_main_thread;
void _gdk_win32_dnd_do_dragdrop (void);