From a0aeb7809d8d00317b5d6b347a7071983af696ee Mon Sep 17 00:00:00 2001 From: pixel Date: Fri, 7 Nov 2003 12:55:53 +0000 Subject: Cosmetic changes --- include/Main.h | 4 ++-- include/generic.h | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/include/Main.h b/include/Main.h index 41ffd48..577150e 100644 --- a/include/Main.h +++ b/include/Main.h @@ -1,8 +1,8 @@ #ifndef __MAIN_H__ #define __MAIN_H__ -#include "Exceptions.h" -#include "gettext.h" +#include +#include extern char ** environ; diff --git a/include/generic.h b/include/generic.h index 0b16d2c..1fe18d0 100644 --- a/include/generic.h +++ b/include/generic.h @@ -123,6 +123,12 @@ inline T ABS(T x) { } #endif +#if defined __linux__ || defined sun || defined __solaris__ || defined __CYGWIN32__ || defined __MINGW32__ +#define FUNCNAME String(__PRETTY_FUNCTION__) +#else +#define FUNCNAME String(__FUNCSIG__) +#endif + #else // cplusplus #ifndef MAX -- cgit v1.2.3