More tests for KRB5_DEPRECATED
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25334 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -52,7 +52,13 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef KRB5_DEPRECATED
|
#ifndef KRB5_DEPRECATED
|
||||||
|
#if defined(__GNUC__) && ((__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 1 )))
|
||||||
#define KRB5_DEPRECATED __attribute__((deprecated))
|
#define KRB5_DEPRECATED __attribute__((deprecated))
|
||||||
|
#elif defined(_MSC_VER)
|
||||||
|
#define KRB5_DEPRECATED __declspec(deprecated)
|
||||||
|
#else
|
||||||
|
#define KRB5_DEPRECATED
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* simple constants */
|
/* simple constants */
|
||||||
|
Reference in New Issue
Block a user