diff --git a/src/backends/x11/standalone/x11_standalone_glx_backend.cpp b/src/backends/x11/standalone/x11_standalone_glx_backend.cpp index bfcb7f44d2..ac75343da0 100644 --- a/src/backends/x11/standalone/x11_standalone_glx_backend.cpp +++ b/src/backends/x11/standalone/x11_standalone_glx_backend.cpp @@ -175,7 +175,7 @@ typedef void (*glXFuncPtr)(); static glXFuncPtr getProcAddress(const char *name) { glXFuncPtr ret = nullptr; -#if ENABLE_GLX +#if HAVE_GLX ret = glXGetProcAddress((const GLubyte *)name); #endif #if HAVE_DL_LIBRARY