diff options
Diffstat (limited to 'xorg-server/glx/glxext.h')
-rw-r--r-- | xorg-server/glx/glxext.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/xorg-server/glx/glxext.h b/xorg-server/glx/glxext.h index cde0e1519..8804a912b 100644 --- a/xorg-server/glx/glxext.h +++ b/xorg-server/glx/glxext.h @@ -35,6 +35,12 @@ * Silicon Graphics, Inc. */ +#ifdef INSERVER +#define SERVEXTERN _declspec(dllimport) +#else +#define SERVEXTERN _declspec(dllexport) +#endif + /* doing #include <GL/glx.h> & #include <GL/glxext.h> could cause problems * with overlapping definitions, so let's use the easy way */ @@ -54,7 +60,7 @@ extern void __glXFlushContextCache(void); extern Bool __glXAddContext(__GLXcontext * cx); -extern void __glXErrorCallBack(GLenum code); +SERVEXTERN void __glXErrorCallBack(GLenum code); extern void __glXClearErrorOccured(void); extern GLboolean __glXErrorOccured(void); extern void __glXResetLargeCommandStatus(__GLXclientState *); |