diff options
author | Ken Raeburn <raeburn@mit.edu> | 2007-08-28 00:58:56 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@mit.edu> | 2007-08-28 00:58:56 +0000 |
commit | 5b5a3fc294dba1160ab864c5da4c5b47ebcab240 (patch) | |
tree | 851a419b154a44465ab79ba74b566f959f781db0 /src/include/krb5 | |
parent | dc8e7f2fdf754db9778214475607f536c6953357 (diff) | |
download | krb5-5b5a3fc294dba1160ab864c5da4c5b47ebcab240.tar.gz krb5-5b5a3fc294dba1160ab864c5da4c5b47ebcab240.tar.xz krb5-5b5a3fc294dba1160ab864c5da4c5b47ebcab240.zip |
Implement KRB5_ATTR_DEPRECATED for Windows
ticket: 2836
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19890 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include/krb5')
-rw-r--r-- | src/include/krb5/krb5.hin | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/krb5/krb5.hin b/src/include/krb5/krb5.hin index e3e2c04e1e..279304edfb 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 |