diff options
author | marha <marha@users.sourceforge.net> | 2011-10-05 16:47:44 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-10-05 16:47:44 +0200 |
commit | 8238de0fe0c28bd54b3e6cdd1fc94513cf21d3cc (patch) | |
tree | e9adf557b0065c0936be2a1936eaa3033144ac74 /xorg-server/include | |
parent | 0e5ac4a92495c162590cedb58c6f6fc1d9ba199a (diff) | |
download | vcxsrv-8238de0fe0c28bd54b3e6cdd1fc94513cf21d3cc.tar.gz vcxsrv-8238de0fe0c28bd54b3e6cdd1fc94513cf21d3cc.tar.bz2 vcxsrv-8238de0fe0c28bd54b3e6cdd1fc94513cf21d3cc.zip |
Added swrast dll based on wgl
Diffstat (limited to 'xorg-server/include')
-rw-r--r-- | xorg-server/include/os.h | 12 |
1 files changed, 11 insertions, 1 deletions
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); |