From 5b5a3fc294dba1160ab864c5da4c5b47ebcab240 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Tue, 28 Aug 2007 00:58:56 +0000 Subject: [PATCH] Implement KRB5_ATTR_DEPRECATED for Windows ticket: 2836 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19890 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/krb5/krb5.hin | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.26.2