diff options
Diffstat (limited to 'src/include/mhd_options.h')
-rw-r--r-- | src/include/mhd_options.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/mhd_options.h b/src/include/mhd_options.h index 821407a9..a7fadfae 100644 --- a/src/include/mhd_options.h +++ b/src/include/mhd_options.h | |||
@@ -178,12 +178,18 @@ | |||
178 | */ | 178 | */ |
179 | #if defined(HAVE___FUNC__) | 179 | #if defined(HAVE___FUNC__) |
180 | #define MHD_FUNC_ __func__ | 180 | #define MHD_FUNC_ __func__ |
181 | #define MHD_HAVE_MHD_FUNC_ 1 | ||
181 | #elif defined(HAVE___FUNCTION__) | 182 | #elif defined(HAVE___FUNCTION__) |
182 | #define MHD_FUNC_ __FUNCTION__ | 183 | #define MHD_FUNC_ __FUNCTION__ |
184 | #define MHD_HAVE_MHD_FUNC_ 1 | ||
183 | #elif defined(HAVE___PRETTY_FUNCTION__) | 185 | #elif defined(HAVE___PRETTY_FUNCTION__) |
184 | #define MHD_FUNC_ __PRETTY_FUNCTION__ | 186 | #define MHD_FUNC_ __PRETTY_FUNCTION__ |
187 | #define MHD_HAVE_MHD_FUNC_ 1 | ||
185 | #else | 188 | #else |
186 | #define MHD_FUNC_ "**name unavailable**" | 189 | #define MHD_FUNC_ "**name unavailable**" |
190 | #ifdef MHD_HAVE_MHD_FUNC_ | ||
191 | #undef MHD_HAVE_MHD_FUNC_ | ||
192 | #endif /* MHD_HAVE_MHD_FUNC_ */ | ||
187 | #endif | 193 | #endif |
188 | 194 | ||
189 | 195 | ||