summaryrefslogtreecommitdiff
path: root/hw/xgl/xglglx.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xgl/xglglx.c')
-rw-r--r--hw/xgl/xglglx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xgl/xglglx.c b/hw/xgl/xglglx.c
index f22603e90..99ff72d5c 100644
--- a/hw/xgl/xglglx.c
+++ b/hw/xgl/xglglx.c
@@ -139,7 +139,7 @@ Bool
xglLoadGLXModules (void)
{
-#ifdef XLOADABLE
+#ifdef XGL_MODULAR
if (!glXHandle)
{
xglSymbolRec sym[] = {
@@ -207,7 +207,7 @@ void
xglUnloadGLXModules (void)
{
-#ifdef XLOADABLE
+#ifdef XGL_MODULAR
if (glXHandle)
{
xglUnloadModule (glXHandle);