diff options
Diffstat (limited to 'src/glx/glxclient.h')
-rw-r--r-- | src/glx/glxclient.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/glx/glxclient.h b/src/glx/glxclient.h index 16acd4b9d02..7ffd4842e0c 100644 --- a/src/glx/glxclient.h +++ b/src/glx/glxclient.h @@ -56,6 +56,11 @@ #include "glxextensions.h" +#if defined(USE_LIBGLVND_GLX) +#define _GLX_PUBLIC _X_HIDDEN +#else +#define _GLX_PUBLIC _X_EXPORT +#endif #ifdef __cplusplus extern "C" { |