diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-01-18 12:04:57 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-01-18 12:09:08 -0500 |
commit | 1e0b3d9fd77b1e9809c7724325cf52ddf29d1eb0 (patch) | |
tree | 6253a21b0e5b93b6f558c4c8c3a31ea6c102bdf2 /libdimension/dimension | |
parent | 0d6ffd95639b6bcd2268aa4d9555c1454e43d4d5 (diff) | |
download | dimension-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')
-rw-r--r-- | libdimension/dimension/error.h | 2 |
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 */ |