diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2025-07-01 12:40:35 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2025-07-01 12:40:35 -0400 |
commit | 1fd772d192909a4f0e1ce88ebc72c8c43b81b025 (patch) | |
tree | 6e25d6c46685e430fbca15200d85214138d6932d /contrib/btree_gist/btree_gist.c | |
parent | 29213636e6cddcb7b2c877bff8cb9ba470d392db (diff) | |
download | postgresql-1fd772d192909a4f0e1ce88ebc72c8c43b81b025.tar.gz postgresql-1fd772d192909a4f0e1ce88ebc72c8c43b81b025.zip |
Make sure IOV_MAX is defined.
We stopped defining IOV_MAX on non-Windows systems in 75357ab94, on
the assumption that every non-Windows system defines it in <limits.h>
as required by X/Open. GNU Hurd, however, doesn't follow that
standard either. Put back the old logic to assume 16 if it's
not defined.
Author: Michael Banck <mbanck@gmx.net>
Co-authored-by: Christoph Berg <myon@debian.org>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/6862e8d1.050a0220.194b8d.76fa@mx.google.com
Discussion: https://postgr.es/m/6846e0c3.df0a0220.39ef9b.c60e@mx.google.com
Backpatch-through: 16
Diffstat (limited to 'contrib/btree_gist/btree_gist.c')
0 files changed, 0 insertions, 0 deletions