From a67fb59c6ebddc7815be31cc91e4c8446ecade0b Mon Sep 17 00:00:00 2001 From: Martin Fuchs Date: Tue, 6 Jan 2004 16:38:40 +0000 Subject: [PATCH] declared wine_dbg_sprintf() svn path=/trunk/; revision=7484 --- reactos/include/wine/debug.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/reactos/include/wine/debug.h b/reactos/include/wine/debug.h index cf6b1d54280..3b453a4222a 100644 --- a/reactos/include/wine/debug.h +++ b/reactos/include/wine/debug.h @@ -5,6 +5,11 @@ #include #include +#ifndef __GNUC__ +#define __FUNCTION__ "" +#define inline __inline +#endif + unsigned long DbgPrint(char *Format,...); #define DPRINT1 DbgPrint("(%s:%d:%s) ",__FILE__,__LINE__,__FUNCTION__), DbgPrint @@ -32,6 +37,7 @@ struct _GUID; extern const char *wine_dbgstr_an( const char * s, int n ); extern const char *wine_dbgstr_wn( const wchar_t *s, int n ); extern const char *wine_dbgstr_guid( const struct _GUID *id ); +extern const char *wine_dbg_sprintf( const char *format, ... ); inline static const char *debugstr_an( const char * s, int n ) { return wine_dbgstr_an( s, n ); } inline static const char *debugstr_wn( const wchar_t *s, int n ) { return wine_dbgstr_wn( s, n ); }