diff options
Diffstat (limited to 'mesalib/src/mesa/glapi/glapi.h')
-rw-r--r-- | mesalib/src/mesa/glapi/glapi.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/mesalib/src/mesa/glapi/glapi.h b/mesalib/src/mesa/glapi/glapi.h index 1ca2e4bef..9add5e7ee 100644 --- a/mesalib/src/mesa/glapi/glapi.h +++ b/mesalib/src/mesa/glapi/glapi.h @@ -94,9 +94,14 @@ extern __thread void * _glapi_tls_Context #else -extern struct _glapi_table *_glapi_Dispatch; +#ifdef INSERVER +#define EXTERN _declspec(dllexport) +#else +#define EXTERN extern +#endif -extern void *_glapi_Context; +EXTERN struct _glapi_table *_glapi_Dispatch; +EXTERN void *_glapi_Context; # ifdef THREADS @@ -129,7 +134,7 @@ extern void _glapi_destroy_multithread(void); -extern void +EXTERN void _glapi_check_multithread(void); @@ -153,7 +158,7 @@ extern unsigned int _glapi_get_dispatch_table_size(void); -extern int +EXTERN int _glapi_add_dispatch( const char * const * function_names, const char * parameter_signature ); |