diff options
Diffstat (limited to 'libvncclient/sockets.c')
-rw-r--r-- | libvncclient/sockets.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libvncclient/sockets.c b/libvncclient/sockets.c index c97a90f..7ddf1b2 100644 --- a/libvncclient/sockets.c +++ b/libvncclient/sockets.c @@ -57,6 +57,10 @@ #endif #include "tls.h" +#ifdef _MSC_VER +# define snprintf _snprintf +#endif + void PrintInHex(char *buf, int len); rfbBool errorMessageOnReadFailure = TRUE; |