From: Simo Sorce Date: Sun, 22 Apr 2012 23:05:31 +0000 (-0400) Subject: Avoid warning about KRB5_DEPRECATE with MIT libs X-Git-Tag: samba-4.0.0alpha20~122 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=360c11eaaafb0b74d2cc2e733eea922553407b16;p=thirdparty%2Fsamba.git Avoid warning about KRB5_DEPRECATE with MIT libs --- diff --git a/lib/krb5_wrap/krb5_samba.h b/lib/krb5_wrap/krb5_samba.h index 3924fb7de81..70aebdb2c78 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