summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2012-04-22 19:05:31 -0400
committerSimo Sorce <idra@samba.org>2012-04-23 19:20:39 -0400
commit360c11eaaafb0b74d2cc2e733eea922553407b16 (patch)
tree1a074d68bb6a5b4691f68df5d7aead0d2b4f0d31
parent87c95e49efbcbdbf76e66a240e769f6cb80a40b4 (diff)
downloadsamba-360c11eaaafb0b74d2cc2e733eea922553407b16.tar.gz
samba-360c11eaaafb0b74d2cc2e733eea922553407b16.tar.bz2
samba-360c11eaaafb0b74d2cc2e733eea922553407b16.zip
Avoid warning about KRB5_DEPRECATE with MIT libs
-rw-r--r--lib/krb5_wrap/krb5_samba.h4
1 files changed, 4 insertions, 0 deletions
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