From: Ken Raeburn Date: Tue, 28 Aug 2007 00:58:56 +0000 (+0000) Subject: Implement KRB5_ATTR_DEPRECATED for Windows X-Git-Tag: krb5-1.7-alpha1~908 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5b5a3fc294dba1160ab864c5da4c5b47ebcab240;p=krb5.git Implement KRB5_ATTR_DEPRECATED for Windows ticket: 2836 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19890 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/krb5/krb5.hin b/src/include/krb5/krb5.hin index e3e2c04e1..279304edf 100644 --- a/src/include/krb5/krb5.hin +++ b/src/include/krb5/krb5.hin @@ -111,6 +111,8 @@ KRB5INT_BEGIN_DECLS #if (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 30203 # define KRB5_ATTR_DEPRECATED __attribute__((deprecated)) +#elif defined _WIN32 +# define KRB5_ATTR_DEPRECATED __declspec(deprecated) #else # define KRB5_ATTR_DEPRECATED #endif