git.samba.org
/
metze
/
heimdal
/
svnmirror.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b54af8
)
More tests for GSSAPI_DEPRECATED
author
Love Hörnquist Åstrand
<lha@kth.se>
Thu, 16 Jul 2009 18:27:37 +0000
(18:27 +0000)
committer
Love Hörnquist Åstrand
<lha@kth.se>
Thu, 16 Jul 2009 18:27:37 +0000
(18:27 +0000)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25333
ec53bebd
-3082-4978-b11e-
865c3cabbd6b
lib/gssapi/gssapi/gssapi.h
patch
|
blob
|
history
diff --git
a/lib/gssapi/gssapi/gssapi.h
b/lib/gssapi/gssapi/gssapi.h
index 07c4b36325d307f93054fdae5a8eb9cd8e028725..91141808f54426dde8c960763e6e4af23384a346 100644
(file)
--- a/
lib/gssapi/gssapi/gssapi.h
+++ b/
lib/gssapi/gssapi/gssapi.h
@@
-54,7
+54,13
@@
#endif
#ifndef GSSAPI_DEPRECATED
+#if defined(__GNUC__) && ((__GNUC__ > 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ >= 1 )))
#define GSSAPI_DEPRECATED __attribute__((deprecated))
+#elif defined(_MSC_VER)
+#define GSSAPI_DEPRECATED __declspec(deprecated)
+#else
+#define GSSAPI_DEPRECATED
+#endif
#endif
/*