From 252f2b2f4be931d59cc00c30a9515a79ec474af6 Mon Sep 17 00:00:00 2001 From: Kamil Hornicek Date: Wed, 16 Apr 2014 23:17:59 +0000 Subject: [PATCH] [LIBWINE] - apply r61265 and use relative paths svn path=/trunk/; revision=62762 --- reactos/include/reactos/wine/debug.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/reactos/include/reactos/wine/debug.h b/reactos/include/reactos/wine/debug.h index 2428c89e205..6eeb12eea93 100644 --- a/reactos/include/reactos/wine/debug.h +++ b/reactos/include/reactos/wine/debug.h @@ -27,6 +27,12 @@ #include #endif +#include + +#if !defined(__RELFILE__) +#define __RELFILE__ __FILE__ +#endif + #ifdef __WINE_WINE_TEST_H #error This file should not be used in Wine tests #endif @@ -91,7 +97,7 @@ struct __wine_debug_channel __WINE_DBG_LOG #define __WINE_DBG_LOG(args...) \ - ros_dbg_log( __dbcl, __dbch, __FILE__, __FUNCTION__, __LINE__, args); } } while(0) + ros_dbg_log( __dbcl, __dbch, __RELFILE__, __FUNCTION__, __LINE__, args); } } while(0) #define __WINE_PRINTF_ATTR(fmt,args) /*__attribute__((format (printf,fmt,args)))*/