summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpixel <pixel>2003-11-07 12:55:53 +0000
committerpixel <pixel>2003-11-07 12:55:53 +0000
commita0aeb7809d8d00317b5d6b347a7071983af696ee (patch)
tree0b7a7343909d21adabb3bc28d337a7652aa70f21
parentd844127caa4680f6877bd3ae12869882d3d34740 (diff)
Cosmetic changes
-rw-r--r--include/Main.h4
-rw-r--r--include/generic.h6
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