More tests for HC_DEPRECATED
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25336 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -190,10 +190,17 @@ struct hc_evp_md {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef HC_DEPRECATED
|
#ifndef HC_DEPRECATED
|
||||||
|
#if defined(__GNUC__) && ((__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 1 )))
|
||||||
#define HC_DEPRECATED __attribute__((deprecated))
|
#define HC_DEPRECATED __attribute__((deprecated))
|
||||||
|
#elif defined(_MSC_VER) && (_MSC_VER>1200)
|
||||||
|
#define HC_DEPRECATED __declspec(deprecated)
|
||||||
|
#else
|
||||||
|
#define HC_DEPRECATED
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef HC_DEPRECATED_CRYPTO
|
#ifndef HC_DEPRECATED_CRYPTO
|
||||||
#define HC_DEPRECATED_CRYPTO __attribute__((deprecated))
|
#define HC_DEPRECATED_CRYPTO HC_DEPRECATED
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user