aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2016-11-02 23:14:52 +0100
committerUlrich Sibiller <uli42@gmx.de>2016-11-02 23:14:52 +0100
commit5d06f46e56e87b20fad36506bd06007ae2c9b38d (patch)
tree6d8b9647e3ee1e0c4444fe6e0332890730380e76 /nx-X11/lib
parent8dc0d18c15f003703f09124e0fe6fd497f388683 (diff)
downloadnx-libs-5d06f46e56e87b20fad36506bd06007ae2c9b38d.tar.gz
nx-libs-5d06f46e56e87b20fad36506bd06007ae2c9b38d.tar.bz2
nx-libs-5d06f46e56e87b20fad36506bd06007ae2c9b38d.zip
xtrans: fix compilation warnings because of missing XTRANS_SEND_FDS
Diffstat (limited to 'nx-X11/lib')
-rw-r--r--nx-X11/lib/X11/Imakefile2
-rw-r--r--nx-X11/lib/xtrans/Xtranssock.c2
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