diff options
-rw-r--r-- | include/Main.h | 4 | ||||
-rw-r--r-- | 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 <Exceptions.h> +#include <gettext.h> 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 |