From 8238de0fe0c28bd54b3e6cdd1fc94513cf21d3cc Mon Sep 17 00:00:00 2001 From: marha Date: Wed, 5 Oct 2011 16:47:44 +0200 Subject: Added swrast dll based on wgl --- xorg-server/include/os.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'xorg-server/include') diff --git a/xorg-server/include/os.h b/xorg-server/include/os.h index 964f47865..578c5d894 100644 --- a/xorg-server/include/os.h +++ b/xorg-server/include/os.h @@ -551,8 +551,18 @@ extern _X_EXPORT void FatalError(const char *f, ...) _X_ATTRIBUTE_PRINTF(1,2) _X #define DebugF(...) /* */ #endif +#ifdef _MSC_VER +#ifdef INSERVER +#define SERVEXTERN _declspec(dllimport) +#else +#define SERVEXTERN _declspec(dllexport) +#endif +#else +#define SERVEXTERN _X_EXPORT +#endif + extern _X_EXPORT void VErrorF(const char *f, va_list args) _X_ATTRIBUTE_PRINTF(1,0); -extern _X_EXPORT void ErrorF(const char *f, ...) _X_ATTRIBUTE_PRINTF(1,2); +extern SERVEXTERN void ErrorF(const char *f, ...) _X_ATTRIBUTE_PRINTF(1,2); extern _X_EXPORT void Error(const char *str); extern _X_EXPORT void LogPrintMarkers(void); -- cgit v1.2.3