aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/glx/glxext.h
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/glx/glxext.h')
-rw-r--r--xorg-server/glx/glxext.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/xorg-server/glx/glxext.h b/xorg-server/glx/glxext.h
index 58cf0540f..3c1be9c54 100644
--- a/xorg-server/glx/glxext.h
+++ b/xorg-server/glx/glxext.h
@@ -35,11 +35,17 @@
* Silicon Graphics, Inc.
*/
+#ifdef INSERVER
+#define SERVEXTERN _declspec(dllimport)
+#else
+#define SERVEXTERN _declspec(dllexport)
+#endif
+
extern GLboolean __glXFreeContext(__GLXcontext *glxc);
extern void __glXFlushContextCache(void);
extern void __glXAddToContextList(__GLXcontext *cx);
-extern void __glXErrorCallBack(GLenum code);
+SERVEXTERN void __glXErrorCallBack(GLenum code);
extern void __glXClearErrorOccured(void);
extern GLboolean __glXErrorOccured(void);
extern void __glXResetLargeCommandStatus(__GLXclientState*);