summaryrefslogtreecommitdiffstats
path: root/libvncclient/rfbproto.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvncclient/rfbproto.c')
-rw-r--r--libvncclient/rfbproto.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libvncclient/rfbproto.c b/libvncclient/rfbproto.c
index 9d48b16..0afa3dc 100644
--- a/libvncclient/rfbproto.c
+++ b/libvncclient/rfbproto.c
@@ -64,6 +64,10 @@
#include "minilzo.h"
#include "tls.h"
+#ifdef _MSC_VER
+# define snprintf _snprintf
+#endif
+
/*
* rfbClientLog prints a time-stamped message to the log file (stderr).
*/
OpenPOWER on IntegriCloud