From 0f9153ab904f7e0f6bdfdaccba3f5cb6c60deb7c Mon Sep 17 00:00:00 2001 From: marha Date: Thu, 6 Oct 2011 10:45:58 +0200 Subject: Solved compile error --- X11/xtrans/Xtransint.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'X11/xtrans') diff --git a/X11/xtrans/Xtransint.h b/X11/xtrans/Xtransint.h index 3bce8dc6b..9954dfe06 100644 --- a/X11/xtrans/Xtransint.h +++ b/X11/xtrans/Xtransint.h @@ -388,6 +388,11 @@ static int trans_mkdir ( # if defined(XSERV_t) && defined(TRANS_SERVER) # include "os.h" # else + +#ifdef _MSC_VER +#define inline __inline +#endif + static inline void _X_ATTRIBUTE_PRINTF(1, 0) VErrorF(const char *f, va_list args) { -- cgit v1.2.3