From 5d06f46e56e87b20fad36506bd06007ae2c9b38d Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Wed, 2 Nov 2016 23:14:52 +0100 Subject: xtrans: fix compilation warnings because of missing XTRANS_SEND_FDS --- nx-X11/lib/X11/Imakefile | 2 +- nx-X11/lib/xtrans/Xtranssock.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nx-X11/lib/X11/Imakefile b/nx-X11/lib/X11/Imakefile index e52e429c4..2f9535716 100644 --- a/nx-X11/lib/X11/Imakefile +++ b/nx-X11/lib/X11/Imakefile @@ -156,7 +156,7 @@ EXTRA_LIBRARIES = /**/ POLL_DEFINES = -DUSE_POLL #endif CONN_DEFINES = $(CONNECTION_FLAGS) - XTRANS_X_DEFINES = -DX11_t -DTRANS_CLIENT $(XTRANS_FAILDEFINES) + XTRANS_X_DEFINES = -DX11_t -DTRANS_CLIENT $(XTRANS_FAILDEFINES) -DXTRANS_SEND_FDS=0 XTRANS_XIM_DEFINES = -DXIM_t -DTRANS_CLIENT $(XTRANS_FAILDEFINES) #if HasBSD44Sockets SOCK_DEFINES = -DBSD44SOCKETS diff --git a/nx-X11/lib/xtrans/Xtranssock.c b/nx-X11/lib/xtrans/Xtranssock.c index 62bfca734..12a2e1c3e 100644 --- a/nx-X11/lib/xtrans/Xtranssock.c +++ b/nx-X11/lib/xtrans/Xtranssock.c @@ -283,7 +283,7 @@ static int TRANS(SocketINETClose) (XtransConnInfo ciptr); #ifdef NX_TRANS_SOCKET -#ifdef XTRANS_SEND_FDS +#if XTRANS_SEND_FDS #error XTRANS_SEND_FDS is unsupported for NX! #endif -- cgit v1.2.3