aboutsummaryrefslogtreecommitdiff
path: root/stdio-common/stdio_lim.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/stdio_lim.h.in')
-rw-r--r--stdio-common/stdio_lim.h.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdio-common/stdio_lim.h.in b/stdio-common/stdio_lim.h.in
index 5527296..e80867a 100644
--- a/stdio-common/stdio_lim.h.in
+++ b/stdio-common/stdio_lim.h.in
@@ -16,7 +16,7 @@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#if !defined _STDIO_H && !defined __need_FOPEN_MAX
+#if !defined _STDIO_H && !defined __need_FOPEN_MAX && !defined __need_IOV_MAX
# error "Never include <bits/stdio_lim.h> directly; use <stdio.h> instead."
#endif
@@ -37,5 +37,5 @@
#endif
#if defined __need_IOV_MAX && !defined IOV_MAX
-# define IOV_MAX @IOV_MAX@
+@define_IOV_MAX@
#endif