aboutsummaryrefslogtreecommitdiffstats
path: root/config.h.cmake.in
diff options
context:
space:
mode:
authorAdam Tkac <atkac@redhat.com>2011-01-19 14:20:34 +0000
committerAdam Tkac <atkac@redhat.com>2011-01-19 14:20:34 +0000
commit125bd259b9eda1270f2fb85b0caded5b8780fe37 (patch)
tree582c530527dd6d6fdf86abdf6d35e812fc4f021f /config.h.cmake.in
parent179d2b14ecf33058c1bc733cfef5854744809fcc (diff)
downloadtigervnc-125bd259b9eda1270f2fb85b0caded5b8780fe37.tar.gz
tigervnc-125bd259b9eda1270f2fb85b0caded5b8780fe37.zip
[Development] Add possibility to build Windows programs with GNUTLS via cmake.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4241 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'config.h.cmake.in')
-rw-r--r--config.h.cmake.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/config.h.cmake.in b/config.h.cmake.in
index 87aa9d52..eee0f779 100644
--- a/config.h.cmake.in
+++ b/config.h.cmake.in
@@ -4,3 +4,8 @@
#cmakedefine HAVE_STRCASECMP
#cmakedefine HAVE_STRNCASECMP
#cmakedefine HAVE_VSNPRINTF
+
+/* MS Visual Studio 2008 and newer doesn't know ssize_t */
+#if defined(HAVE_GNUTLS) && defined(WIN32)
+#define ssize_t long
+#endif