summaryrefslogtreecommitdiffstats
path: root/libdimension
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2015-12-24 14:42:59 -0500
committerTavian Barnes <tavianator@tavianator.com>2015-12-24 14:42:59 -0500
commit7b04b02b6a9708573d25e09347aba766fbbc0138 (patch)
treee97d70254f3a2676503c13ea85d9cd8dd7f1ef3a /libdimension
parentb554b20c8d59d6046bdcec7c79fb61cd0e65811c (diff)
downloaddimension-7b04b02b6a9708573d25e09347aba766fbbc0138.tar.xz
base/compiler: Decorate __PRETTY_FUNCTION__ with __extension__.
Diffstat (limited to 'libdimension')
-rw-r--r--libdimension/dimension/base/compiler.h2
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