[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 21/36: Added internal preprocessor macro for magic macro
From: |
gnunet |
Subject: |
[libmicrohttpd] 21/36: Added internal preprocessor macro for magic macro presence |
Date: |
Thu, 01 Jun 2023 12:30:26 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 612d20b28d1b1671fd3c4f999e34758f8203e442
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Thu Jun 1 11:28:22 2023 +0300
Added internal preprocessor macro for magic macro presence
---
src/include/mhd_options.h | 6 ++++++
1 file changed, 6 insertions(+)
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 @@
*/
#if defined(HAVE___FUNC__)
#define MHD_FUNC_ __func__
+#define MHD_HAVE_MHD_FUNC_ 1
#elif defined(HAVE___FUNCTION__)
#define MHD_FUNC_ __FUNCTION__
+#define MHD_HAVE_MHD_FUNC_ 1
#elif defined(HAVE___PRETTY_FUNCTION__)
#define MHD_FUNC_ __PRETTY_FUNCTION__
+#define MHD_HAVE_MHD_FUNC_ 1
#else
#define MHD_FUNC_ "**name unavailable**"
+#ifdef MHD_HAVE_MHD_FUNC_
+#undef MHD_HAVE_MHD_FUNC_
+#endif /* MHD_HAVE_MHD_FUNC_ */
#endif
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [libmicrohttpd] 19/36: Simplified usage of the function name magic macros, (continued)
- [libmicrohttpd] 19/36: Simplified usage of the function name magic macros, gnunet, 2023/06/01
- [libmicrohttpd] 23/36: .gitignore: force include all *.{c,h} files, gnunet, 2023/06/01
- [libmicrohttpd] 26/36: test_client_put_stop: fixed typo in diag message, gnunet, 2023/06/01
- [libmicrohttpd] 25/36: Detect sysctl() symbols in configure, gnunet, 2023/06/01
- [libmicrohttpd] 28/36: contrib/make-dist.sh: added use of zopfli if available, gnunet, 2023/06/01
- [libmicrohttpd] 29/36: daemon.c: redesigned code for clarity and formatting, gnunet, 2023/06/01
- [libmicrohttpd] 35/36: autoinit_funcs.h: fixed warning on MSVC, gnunet, 2023/06/01
- [libmicrohttpd] 27/36: Added support for custom command for tarball compression, gnunet, 2023/06/01
- [libmicrohttpd] 15/36: examples/largepost.c: fixed caseless method match, gnunet, 2023/06/01
- [libmicrohttpd] 20/36: tests: unified use of function name macros, gnunet, 2023/06/01
- [libmicrohttpd] 21/36: Added internal preprocessor macro for magic macro presence,
gnunet <=
- [libmicrohttpd] 30/36: Fixed compiler warning when built without poll() support, gnunet, 2023/06/01
- [libmicrohttpd] 31/36: Avoided potential compiler warnings, gnunet, 2023/06/01
- [libmicrohttpd] 32/36: Added macro for base64 decoded size, gnunet, 2023/06/01
- [libmicrohttpd] 36/36: W32 VS Project: fixed warning with external build systems, gnunet, 2023/06/01
- [libmicrohttpd] 34/36: W32 VS Project: minor internal fixes, fixed files for "dist", gnunet, 2023/06/01
- [libmicrohttpd] 33/36: W32 VS project: reverted to standard arches names, gnunet, 2023/06/01