replace: remove waring if IOV_MAX is not defined
authorBjörn Jacke <bj@sernet.de>
Tue, 31 May 2011 07:47:17 +0000 (09:47 +0200)
committerKarolin Seeger <kseeger@samba.org>
Fri, 3 Jun 2011 18:36:02 +0000 (20:36 +0200)
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).

lib/replace/system/network.h

index 2ec9ebde4527207683356fb5824bbf1ed2bdef2e..a4e6a7e31a60e4430a439957c7fb2f9f120e7d53 100644 (file)
@@ -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