diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2015-12-24 14:42:59 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2015-12-24 14:42:59 -0500 |
commit | 7b04b02b6a9708573d25e09347aba766fbbc0138 (patch) | |
tree | e97d70254f3a2676503c13ea85d9cd8dd7f1ef3a | |
parent | b554b20c8d59d6046bdcec7c79fb61cd0e65811c (diff) | |
download | dimension-7b04b02b6a9708573d25e09347aba766fbbc0138.tar.xz |
base/compiler: Decorate __PRETTY_FUNCTION__ with __extension__.
-rw-r--r-- | libdimension/dimension/base/compiler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdimension/dimension/base/compiler.h b/libdimension/dimension/base/compiler.h index a83f1b9..30e3d9d 100644 --- a/libdimension/dimension/base/compiler.h +++ b/libdimension/dimension/base/compiler.h @@ -121,7 +121,7 @@ * @brief Expands to the name of the current function */ #if DMNSN_GNUC - #define DMNSN_FUNC __PRETTY_FUNCTION__ + #define DMNSN_FUNC __extension__ __PRETTY_FUNCTION__ #elif DMNSN_C99 #define DMNSN_FUNC __func__ #else |