summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension/error.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-01-18 12:04:57 -0500
committerTavian Barnes <tavianator@gmail.com>2010-01-18 12:09:08 -0500
commit1e0b3d9fd77b1e9809c7724325cf52ddf29d1eb0 (patch)
tree6253a21b0e5b93b6f558c4c8c3a31ea6c102bdf2 /libdimension/dimension/error.h
parent0d6ffd95639b6bcd2268aa4d9555c1454e43d4d5 (diff)
downloaddimension-1e0b3d9fd77b1e9809c7724325cf52ddf29d1eb0.tar.xz
Don't use __FILE__ as a fallback for DMNSN_FUNC.
We already print __FILE__, so that would look weird.
Diffstat (limited to 'libdimension/dimension/error.h')
-rw-r--r--libdimension/dimension/error.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libdimension/dimension/error.h b/libdimension/dimension/error.h
index cc9e248..af5ff79 100644
--- a/libdimension/dimension/error.h
+++ b/libdimension/dimension/error.h
@@ -39,7 +39,7 @@ typedef enum {
#elif __STDC_VERSION__ >= 199901L
#define DMNSN_FUNC __func__
#else
- #define DMNSN_FUNC __FILE__
+ #define DMNSN_FUNC "<unknown function>"
#endif
/* Use this macro to report an error */