summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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