Commit 589b0fcd authored by Howard Chu's avatar Howard Chu
Browse files

stdio kludge for OS/390; stdlib.h must be included after stdio.h

parent 91836e4e
......@@ -32,4 +32,11 @@
# define EXIT_FAILURE 1
#endif
#ifdef HAVE_EBCDIC
#undef putchar
#undef putc
#define putchar(c) putc((c), stdout)
#define putc(c, fp) do { char x=(c); __atoe_l(&x,1); putc(x,fp);} while(0)
#endif
#endif /* _AC_STDLIB_H */
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment