diff --git a/reactos/include/reactos/libs/syssetup/syssetup.h b/reactos/include/reactos/libs/syssetup/syssetup.h index d2885ffba85..66fc75574ec 100644 --- a/reactos/include/reactos/libs/syssetup/syssetup.h +++ b/reactos/include/reactos/libs/syssetup/syssetup.h @@ -50,8 +50,13 @@ pSetupDebugPrint( #define TOWL1(p) TOWL2(p) #define TOWL2(p) L##p +#if (defined(_MSC_VER) +#define LogItem(lpTag, lpMessageText, ...) \ + pSetupDebugPrint(__WFILE__, __LINE__, lpTag, lpMessageText, __VA_ARGS__) +#else #define LogItem(lpTag, lpMessageText...) \ pSetupDebugPrint(__WFILE__, __LINE__, lpTag, lpMessageText) +#endif #endif /* __SYSSETUP_H_INCLUDED__ */