summaryrefslogtreecommitdiffstats
path: root/server/main_channel.c
diff options
context:
space:
mode:
authorDan McGee <dpmcgee@gmail.com>2012-02-16 23:30:13 -0600
committerAlon Levy <alevy@redhat.com>2012-02-21 10:20:47 +0200
commit016bc7513f0e758162d136476b8faa7e7832a60b (patch)
tree350fbff22a8a19fce2ff1e2f1d26ac75c64acf85 /server/main_channel.c
parentbdfd6c234bca76232f4bac308fc21321ebba7f1a (diff)
downloadspice-016bc7513f0e758162d136476b8faa7e7832a60b.tar.gz
spice-016bc7513f0e758162d136476b8faa7e7832a60b.tar.xz
spice-016bc7513f0e758162d136476b8faa7e7832a60b.zip
Use standard IOV_MAX definition where applicable
This is provided by <limits.h> on all platforms as long as _XOPEN_SOURCE is defined. On Linux, this is 1024, on Solaris, this is 16, and on any other platform, we now respect the value supported by the OS. Signed-off-by: Dan McGee <dpmcgee@gmail.com>
Diffstat (limited to 'server/main_channel.c')
-rw-r--r--server/main_channel.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/server/main_channel.c b/server/main_channel.c
index f7e1ab03..4d1f8ea5 100644
--- a/server/main_channel.c
+++ b/server/main_channel.c
@@ -47,8 +47,6 @@
#define ZERO_BUF_SIZE 4096
-#define REDS_MAX_SEND_IOVEC 100
-
#define NET_TEST_WARMUP_BYTES 0
#define NET_TEST_BYTES (1024 * 250)