summaryrefslogtreecommitdiffstats
path: root/config.h.in
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2012-07-03 14:52:26 +0000
committerPierre Ossman <ossman@cendio.se>2012-07-03 14:52:26 +0000
commit2137f4f78f2b80faf96707907cd08562d83f1216 (patch)
tree6b9c8f1e09c1dd343b65510d853ba9c3e62f1db6 /config.h.in
parentfe48cd4d2427c0262cd58b30c74331a9fce756c7 (diff)
downloadtigervnc-2137f4f78f2b80faf96707907cd08562d83f1216.tar.gz
tigervnc-2137f4f78f2b80faf96707907cd08562d83f1216.zip
GnuTLS 3.x has removed gnutls_transport_set_global_errno() in favour of
gnutls_transport_set_errno(). Make sure we call the right errno function depending on which GnuTLS we're using. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4922 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/config.h.in b/config.h.in
index faeaffa8..a11ec10b 100644
--- a/config.h.in
+++ b/config.h.in
@@ -8,7 +8,8 @@
#cmakedefine HAVE_STRCASECMP
#cmakedefine HAVE_STRNCASECMP
#cmakedefine HAVE_VSNPRINTF
-#cmakedefine HAVE_OLD_GNUTLS
+#cmakedefine HAVE_GNUTLS_SET_GLOBAL_ERRNO
+#cmakedefine HAVE_GNUTLS_SET_ERRNO
#cmakedefine HAVE_GNUTLS_X509_CRT_PRINT
#cmakedefine HAVE_GNUTLS_X509_CRT_T
#cmakedefine HAVE_GNUTLS_DATUM_T