diff options
Diffstat (limited to 'source4/heimdal_build/krb5-types.h')
-rw-r--r-- | source4/heimdal_build/krb5-types.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/heimdal_build/krb5-types.h b/source4/heimdal_build/krb5-types.h index cdc5a3cba9..94973d7fbe 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__ */ |