Add a missing 'extern' attribute, 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 this variable.
This commit is contained in:
Martin Storsjö
2020-04-05 00:26:19 +03:00
parent 8c97702a07
commit 01d4c29ce3

View File

@ -298,7 +298,7 @@ extern UINT _gdk_input_codepage;
extern guint _gdk_keymap_serial;
/* The singleton selection object pointer */
GdkWin32Selection *_win32_selection;
extern GdkWin32Selection *_win32_selection;
void _gdk_win32_dnd_do_dragdrop (void);
void _gdk_win32_ole2_dnd_property_change (GdkAtom type,