Commit ee4e253a authored by Alan Coopersmith's avatar Alan Coopersmith
Browse files

Enable use of __attribute__((deprecated)) with Solaris Studio 12.4 compiler



Support for this attribute is added in the 12.4 beta release.
Signed-off-by: Alan Coopersmith's avatarAlan Coopersmith <alan.coopersmith@oracle.com>
parent b9c06889
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
#include <inttypes.h> #include <inttypes.h>
#if __GNUC__ >= 3 #if (__GNUC__ >= 3) || (__SUNPRO_C >= 0x5130)
#define __deprecated __attribute__((deprecated)) #define __deprecated __attribute__((deprecated))
#else #else
#define __deprecated #define __deprecated
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment