summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authordscho <dscho>2002-08-19 10:41:11 +0000
committerdscho <dscho>2002-08-19 10:41:11 +0000
commit598c460ceb842d0cf9df89f93642a1594f35b993 (patch)
tree6dc08fdcc2a9065fb9f75e759b725c1cf7c372e0 /main.c
parentfde8958dc5e4e226a76ae0a26d751b6f185cf7ee (diff)
downloadlibtdevnc-598c460ceb842d0cf9df89f93642a1594f35b993.tar.gz
libtdevnc-598c460ceb842d0cf9df89f93642a1594f35b993.zip
unwarn compilation
Diffstat (limited to 'main.c')
-rw-r--r--main.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/main.c b/main.c
index ea2eeb9..aedf060 100644
--- a/main.c
+++ b/main.c
@@ -32,7 +32,9 @@
#include "rfb.h"
#include "sraRegion.h"
+#ifdef HAVE_PTHREADS
MUTEX(logMutex);
+#endif
int rfbEnableLogging=1;
@@ -380,11 +382,11 @@ void defaultSetXCutText(char* text, int len, rfbClientPtr cl)
/* TODO: add a nice VNC or RFB cursor */
-#if defined(WIN32) || defined(sparc)
+#if defined(WIN32) || defined(sparc) || !defined(NO_STRICT_ANSI)
static rfbCursor myCursor =
{
- "\000\102\044\030\044\102\000",
- "\347\347\176\074\176\347\347",
+ (unsigned char*)"\000\102\044\030\044\102\000",
+ (unsigned char*)"\347\347\176\074\176\347\347",
8, 7, 3, 3,
0, 0, 0,
0xffff, 0xffff, 0xffff,