From 360c11eaaafb0b74d2cc2e733eea922553407b16 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Sun, 22 Apr 2012 19:05:31 -0400 Subject: Avoid warning about KRB5_DEPRECATE with MIT libs --- lib/krb5_wrap/krb5_samba.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/krb5_wrap') diff --git a/lib/krb5_wrap/krb5_samba.h b/lib/krb5_wrap/krb5_samba.h index 3924fb7de8..70aebdb2c7 100644 --- a/lib/krb5_wrap/krb5_samba.h +++ b/lib/krb5_wrap/krb5_samba.h @@ -28,6 +28,10 @@ #define KRB5_PRIVATE 1 /* this file uses PRIVATE interfaces! */ /* this file uses DEPRECATED interfaces! */ +#ifdef KRB5_DEPRECATED +#undef KRB5_DEPRECATED +#endif + #if defined(HAVE_KRB5_DEPRECATED_WITH_IDENTIFIER) #define KRB5_DEPRECATED 1 #else -- cgit