summaryrefslogtreecommitdiff
path: root/rufl_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'rufl_internal.h')
-rw-r--r--rufl_internal.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/rufl_internal.h b/rufl_internal.h
index d0c9ed6..8cd1759 100644
--- a/rufl_internal.h
+++ b/rufl_internal.h
@@ -8,6 +8,9 @@
#include <limits.h>
#include "oslib/font.h"
#include "rufl.h"
+#ifdef __CC_NORCROFT
+#include "strfuncs.h"
+#endif
/** The available characters in a font. The range which can be represented is
@@ -154,6 +157,9 @@ extern const size_t rufl_glyph_map_size;
#ifndef NDEBUG
+#ifdef __CC_NORCROFT
+#define __PRETTY_FUNCTION__ __func__
+#endif
#define LOG(format, ...) (fprintf(stderr, __FILE__ " %s %i: ", \
__PRETTY_FUNCTION__, __LINE__), fprintf(stderr, format, \
__VA_ARGS__), fprintf(stderr, "\n"))