The branch, master has been updated
       via  4a754d029b0eb229b23980aa4a80dae2b485a302 (commit)
      from  98aba452fbddb9f05250a7e4dc8979990759f671 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 4a754d029b0eb229b23980aa4a80dae2b485a302
Author: Stefan Metzmacher <me...@samba.org>
Date:   Thu Jul 16 12:21:29 2009 +0200

    s4:heimdal_build: predefine GSSAPI_DEPRECATED depending on the compiler 
version
    
    Otherwise heimdal/lib/gssapi/gssapi/gssapi.h will just define it to
    __attribute__ ((deprecated)) which is not supported by all compilers
    we care about.
    
    This should fix the build on Tru64
    
    metze

-----------------------------------------------------------------------

Summary of changes:
 source4/heimdal_build/krb5-types.h |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/heimdal_build/krb5-types.h 
b/source4/heimdal_build/krb5-types.h
index cdc5a3c..94973d7 100644
--- a/source4/heimdal_build/krb5-types.h
+++ b/source4/heimdal_build/krb5-types.h
@@ -10,4 +10,12 @@
 typedef socklen_t krb5_socklen_t;
 typedef ssize_t krb5_ssize_t;
 
+#ifndef GSSAPI_DEPRECATED
+#if (__GNUC__ >= 3) && (__GNUC_MINOR__ >= 1 )
+#define GSSAPI_DEPRECATED __attribute__ ((deprecated))
+#else
+#define GSSAPI_DEPRECATED
+#endif
+#endif
+
 #endif /* __krb5_types_h__ */


-- 
Samba Shared Repository

Reply via email to