summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2011-05-31 09:47:17 +0200
committerKarolin Seeger <kseeger@samba.org>2011-06-07 20:02:34 +0200
commit203189653385cd74e304932b3b08b1be05bd6395 (patch)
treea190e7c66a09e972333d8340cabedcc78f1cf91b
parentab101ebf5d31d035b1b1910a8bd2bbd7ba48bbbc (diff)
downloadsamba-203189653385cd74e304932b3b08b1be05bd6395.tar.gz
replace: remove waring if IOV_MAX is not defined
as discussed on samba-techincal we currelty don't rely on it and we don't want to flood this warning message during compile. Autobuild-User: Björn Jacke <bj@sernet.de> Autobuild-Date: Tue May 31 18:36:53 CEST 2011 on sn-devel-104 (cherry picked from commit 65f0800a34270ff0c779c9f3feb63b02d3ec800f) Fix bug #7998 (fails to build on Hurd because of undefined IOV_MAX or UIO_MAXIOV). (cherry picked from commit 65a59d62f82f7a042b05f7a6f527d70c86f6e352)
-rw-r--r--lib/replace/system/network.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/replace/system/network.h b/lib/replace/system/network.h
index 2ec9ebde452..a4e6a7e31a6 100644
--- a/lib/replace/system/network.h
+++ b/lib/replace/system/network.h
@@ -331,8 +331,6 @@ typedef unsigned short int sa_family_t;
* which might return 512 or bigger
*/
# define IOV_MAX 512
-# else
-# warning IOV_MAX and UIO_MAXIOV undefined
# endif
# endif
#endif