Commit d9798bff authored by Niels Möller's avatar Niels Möller
Browse files

* argp-fmtstream.h [!HAVE_UNISTD_H]: Define ssize_t as int.

Rev: src/argp/ChangeLog:1.22
Rev: src/argp/argp-fmtstream.h:1.15
parent 2370557b
2004-03-01 Niels Mller <nisse@lysator.liu.se>
* argp-fmtstream.h [!HAVE_UNISTD_H]: Define ssize_t as int.
* Makefile.am (EXTRA_PROGRAMS): Don't build argp-test, as it's the
only program depending on the functions asprintf/vsnprintf.
......
......@@ -31,6 +31,11 @@
#if HAVE_UNISTD_H
# include <unistd.h>
#else
/* This is a kludge to make the code compile on windows. Perhaps it
would be better to just replace ssize_t with int through out the
code. */
# define ssize_t int
#endif
#if _LIBC || (defined (HAVE_FLOCKFILE) && defined(HAVE_PUTC_UNLOCKED) \
......
Markdown is supported
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