aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xorg-server/glx/makefile2
-rw-r--r--xorg-server/hw/xwin/glx/makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/xorg-server/glx/makefile b/xorg-server/glx/makefile
index 68426af2b..e51d6826d 100644
--- a/xorg-server/glx/makefile
+++ b/xorg-server/glx/makefile
@@ -1,6 +1,6 @@
LIBRARY=libglx
-DEFINES += GLAPIENTRY=__stdcall
+DEFINES += GLAPIENTRY=__stdcall _GLAPI_NO_EXPORTS
glapi_sources = \
diff --git a/xorg-server/hw/xwin/glx/makefile b/xorg-server/hw/xwin/glx/makefile
index eadba6d26..e52da16a1 100644
--- a/xorg-server/hw/xwin/glx/makefile
+++ b/xorg-server/hw/xwin/glx/makefile
@@ -1,7 +1,7 @@
LIBRARY=libwinglx
INCLUDES += ..\..\..\glx .. ..\..\..
-DEFINES += GLAPIENTRY=__stdcall
+DEFINES += GLAPIENTRY=__stdcall _GLAPI_NO_EXPORTS
DEFINES += XWIN_CLIPBOARD
DEFINES += XWIN_MULTIWINDOW