mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-08 14:20:07 +00:00
Fix tst-preadvwritev2 build failure on HURD
Commit 7a16bdbb9f
uses IOV_MAX, which is not defined on hurd.
Checked on a build for i686-gnu.
* misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
defined.
This commit is contained in:
parent
c3d8dc45c9
commit
18ad0de651
@ -1,5 +1,8 @@
|
||||
2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
|
||||
|
||||
* misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
|
||||
defined.
|
||||
|
||||
[BZ #23709]
|
||||
* sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
|
||||
independently of other flags.
|
||||
|
@ -37,6 +37,11 @@
|
||||
#define RWF_SUPPORTED (RWF_HIPRI | RWF_DSYNC | RWF_SYNC | RWF_NOWAIT \
|
||||
| RWF_APPEND)
|
||||
|
||||
/* Generic uio_lim.h does not define IOV_MAX. */
|
||||
#ifndef IOV_MAX
|
||||
# define IOV_MAX 1024
|
||||
#endif
|
||||
|
||||
static void
|
||||
do_test_with_invalid_fd (void)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user