diff options
author | Adam Tkac <atkac@redhat.com> | 2011-01-19 14:20:34 +0000 |
---|---|---|
committer | Adam Tkac <atkac@redhat.com> | 2011-01-19 14:20:34 +0000 |
commit | 125bd259b9eda1270f2fb85b0caded5b8780fe37 (patch) | |
tree | 582c530527dd6d6fdf86abdf6d35e812fc4f021f /config.h.cmake.in | |
parent | 179d2b14ecf33058c1bc733cfef5854744809fcc (diff) | |
download | tigervnc-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.in | 5 |
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 |