From c2c02ceffd03881ebecacc309d5a83988d2565ea Mon Sep 17 00:00:00 2001 From: Paweł Kołodziejski Date: Tue, 24 Feb 2009 22:24:58 +0000 Subject: remove code related __GNU__XX defines svn-id: r38863 --- engines/sci/engine/kdebug.h | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) (limited to 'engines/sci/engine/kdebug.h') diff --git a/engines/sci/engine/kdebug.h b/engines/sci/engine/kdebug.h index 7f586b50a4..1450b1f281 100644 --- a/engines/sci/engine/kdebug.h +++ b/engines/sci/engine/kdebug.h @@ -63,37 +63,19 @@ struct EngineState; #ifdef SCI_KERNEL_DEBUG -#ifdef __GNUC__XXX - -#define SCIkdebug(arguments...) _SCIGNUkdebug(__PRETTY_FUNCTION__, ## arguments) - -#else /* !__GNUC__ */ - #define SCIkdebug _SCIkdebug -#endif /* !__GNUC__ */ - #else /* !SCI_KERNEL_DEBUG */ #define SCIkdebug 1? (void)0 : _SCIkdebug #endif /* !SCI_KERNEL_DEBUG */ - -#ifdef __GNUC__XXX - -#define SCIkwarn(arguments...) _SCIGNUkdebug(__PRETTY_FUNCTION__, ## arguments) - -#else /* !__GNUC__ */ - #define SCIkwarn _SCIkwarn -#endif /* !__GNUC__ */ - - /* Internal functions */ +/* Internal functions */ void _SCIkwarn(EngineState *s, const char *file, int line, int area, const char *format, ...); void _SCIkdebug(EngineState *s, const char *file, int line, int area, const char *format, ...); -void _SCIGNUkdebug(const char *funcname, EngineState *s, const char *file, int line, int area, const char *format, ...); /* If mode=1, enables debugging for specified areas. If mode=0, disables ** debugging for specified areas. -- cgit v1.2.3