aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2011-12-17 15:31:01 +0100
committerMarc Haesen <marc@hc-consult.be>2011-12-17 15:31:01 +0100
commit22891980a76b862bfcda406521b454f072090fb8 (patch)
treef6be9676d01771f5c947b94e9b058650ff8dab23
parent066bffc273e4c5606490cfef7f4a7d973339ce86 (diff)
downloadvcxsrv-22891980a76b862bfcda406521b454f072090fb8.tar.gz
vcxsrv-22891980a76b862bfcda406521b454f072090fb8.tar.bz2
vcxsrv-22891980a76b862bfcda406521b454f072090fb8.zip
Solved compilation warnings1.11.3.0
-rw-r--r--X11/Xpoll.h4
-rw-r--r--X11/Xwinsock.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/X11/Xpoll.h b/X11/Xpoll.h
index feb1112cf..4c526500b 100644
--- a/X11/Xpoll.h
+++ b/X11/Xpoll.h
@@ -96,7 +96,7 @@ typedef long fd_mask;
# endif
#endif
-#define XFD_SETSIZE 256
+#define XFD_SETSIZE 1024
#ifndef FD_SETSIZE
#define FD_SETSIZE XFD_SETSIZE
@@ -193,7 +193,7 @@ typedef struct fd_set {
#else /* WIN32 */
-#define XFD_SETSIZE 256
+#define XFD_SETSIZE 1024
#ifndef FD_SETSIZE
#define FD_SETSIZE XFD_SETSIZE
#endif
diff --git a/X11/Xwinsock.h b/X11/Xwinsock.h
index 0f110e5ec..206836adb 100644
--- a/X11/Xwinsock.h
+++ b/X11/Xwinsock.h
@@ -39,7 +39,9 @@ The Open Group.
# undef XFree86Server
#endif
+#ifndef FD_SETSIZE
#define FD_SETSIZE 1024
+#endif
#define BOOL wBOOL
#define INT32 wINT32