mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-30 15:30:08 +01:00
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).
This commit is contained in:
parent
d18dcecbe0
commit
bb7aab6afe
2 changed files with 2 additions and 1 deletions
|
|
@ -111,6 +111,8 @@ static PixmapFormatRec g_PixmapFormats[] = {
|
|||
{32, 32, BITMAP_SCANLINE_PAD}
|
||||
};
|
||||
|
||||
static Bool noDriExtension;
|
||||
|
||||
static const ExtensionModule xwinExtensions[] = {
|
||||
#ifdef GLXEXT
|
||||
#ifdef XWIN_WINDOWS_DRI
|
||||
|
|
|
|||
|
|
@ -25,6 +25,5 @@
|
|||
#define windowsdri_h
|
||||
|
||||
void WindowsDRIExtensionInit(void);
|
||||
Bool noDriExtension;
|
||||
|
||||
#endif /* windowsdri_h */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue