gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r36596 - libmicrohttpd/src/include


From: gnunet
Subject: [GNUnet-SVN] r36596 - libmicrohttpd/src/include
Date: Tue, 27 Oct 2015 14:36:33 +0100

Author: Karlson2k
Date: 2015-10-27 14:36:33 +0100 (Tue, 27 Oct 2015)
New Revision: 36596

Modified:
   libmicrohttpd/src/include/microhttpd.h
Log:
More support for old clang in deprecation macros

Modified: libmicrohttpd/src/include/microhttpd.h
===================================================================
--- libmicrohttpd/src/include/microhttpd.h      2015-10-27 13:22:47 UTC (rev 
36595)
+++ libmicrohttpd/src/include/microhttpd.h      2015-10-27 13:36:33 UTC (rev 
36596)
@@ -240,7 +240,7 @@
 /* VS .NET 2003 deprecation do not support custom messages */
 #define _MHD_DEPR_FUNC(msg) __declspec(deprecated)
 #elif (__GNUC__+0 >= 5) || (defined (__clang__) && \
-  (__clang_major__+0 >= 4 || (!defined(__apple_build_version__) && 
__clang_major__+0 >= 3)))
+  (__clang_major__+0 > 2 || (__clang_major__+0 == 2 && __clang_minor__ >= 9))) 
 /* FIXME: earlier versions not tested */
 #define _MHD_DEPR_FUNC(msg) __attribute__((deprecated(msg)))
 #elif defined (__clang__) || __GNUC__+0 > 3 || (__GNUC__+0 == 3 && 
__GNUC_MINOR__+0 >= 1)
 /* old GCC-style deprecation do not support custom messages */




reply via email to

[Prev in Thread] Current Thread [Next in Thread]