aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/glx
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/glx')
-rw-r--r--xorg-server/glx/glapi.c1
-rw-r--r--xorg-server/glx/glapi.h4
2 files changed, 2 insertions, 3 deletions
diff --git a/xorg-server/glx/glapi.c b/xorg-server/glx/glapi.c
index 4d98344e1..17b7feed8 100644
--- a/xorg-server/glx/glapi.c
+++ b/xorg-server/glx/glapi.c
@@ -74,7 +74,6 @@
#include <unistd.h>
#define str_dup strdup
-#define INSERVER
#include "glapi.h"
#include "glapioffsets.h"
#include "GL/gl.h"
diff --git a/xorg-server/glx/glapi.h b/xorg-server/glx/glapi.h
index 9add5e7ee..8603317da 100644
--- a/xorg-server/glx/glapi.h
+++ b/xorg-server/glx/glapi.h
@@ -95,9 +95,9 @@ extern __thread void * _glapi_tls_Context
#else
#ifdef INSERVER
-#define EXTERN _declspec(dllexport)
+#define EXTERN _declspec(dllimport)
#else
-#define EXTERN extern
+#define EXTERN _declspec(dllexport)
#endif
EXTERN struct _glapi_table *_glapi_Dispatch;