[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libmicrohttpd] branch master updated: fix #4887
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libmicrohttpd] branch master updated: fix #4887 |
Date: |
Sun, 12 Feb 2017 09:38:52 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository libmicrohttpd.
The following commit(s) were added to refs/heads/master by this push:
new 4cd33c30 fix #4887
4cd33c30 is described below
commit 4cd33c30b0d5000dc84280c8ecdc3f49f7b251a7
Author: Christian Grothoff <address@hidden>
AuthorDate: Sun Feb 12 09:38:44 2017 +0100
fix #4887
---
src/include/autoinit_funcs.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/include/autoinit_funcs.h b/src/include/autoinit_funcs.h
index 2f309e18..6d5117e1 100644
--- a/src/include/autoinit_funcs.h
+++ b/src/include/autoinit_funcs.h
@@ -67,7 +67,7 @@
*/
#define AUTOINIT_FUNCS_VERSION 0x01000001
-#if defined(__GNUC__)
+#if defined(__GNUC__) || defined(__SUNPRO_C)
#/* if possible - check for supported attribute */
#ifdef __has_attribute
#if !__has_attribute(constructor) || !__has_attribute(destructor)
@@ -76,7 +76,7 @@
#endif /* __has_attribute */
#endif /* __GNUC__ */
-#if defined(__GNUC__) && !defined(_GNUC_ATTR_CONSTR_NOT_SUPPORTED)
+#if (defined(__GNUC__) || defined(__SUNPRO_C)) &&
!defined(_GNUC_ATTR_CONSTR_NOT_SUPPORTED)
#define GNUC_SET_INIT_AND_DEINIT(FI,FD) \
void __attribute__ ((constructor)) _GNUC_init_helper_##FI(void) \
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [libmicrohttpd] branch master updated: fix #4887,
gnunet <=