Commit bb7aab6a authored by Jon Turney's avatar Jon Turney
Browse files

hw/xwin: Fix building with -fno-common

Provide an actual definition of noDriExtension where used, rather than a
tentative definition in a header, to fix compilation with -fno-common
(the default with gcc 10).
parent d18dcecb
Pipeline #233953 passed with stages
in 6 minutes and 52 seconds
......@@ -111,6 +111,8 @@ static PixmapFormatRec g_PixmapFormats[] = {
static Bool noDriExtension;
static const ExtensionModule xwinExtensions[] = {
#ifdef GLXEXT
......@@ -25,6 +25,5 @@
#define windowsdri_h
void WindowsDRIExtensionInit(void);
Bool noDriExtension;
#endif /* windowsdri_h */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment