diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-08-14 03:56:28 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-08-14 03:56:28 +0000 |
commit | 39ac1d7c22072f2d520738098692bdbce2f380df (patch) | |
tree | 97866a3781af260ce47912f61a6190b9d72270f4 /missing/snprintf.c | |
parent | c086e784e200dc555e3f6d0ddb2edfdffd4f166d (diff) |
*** empty log message ***
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'missing/snprintf.c')
-rw-r--r-- | missing/snprintf.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/missing/snprintf.c b/missing/snprintf.c index 69b9c3c33d..804fb1bd8b 100644 --- a/missing/snprintf.c +++ b/missing/snprintf.c @@ -60,11 +60,14 @@ #include <sys/types.h> +# undef __P #if defined(__STDC__) +# define __P(x) x # include <stdarg.h> #else # undef __P # define __P(x) () +# define const # include <varargs.h> #endif #ifndef _BSD_VA_LIST_ @@ -347,7 +350,9 @@ err: #define u_int unsigned int #include <limits.h> +#if !defined(__CYGWIN32__) #include <stdlib.h> +#endif #include <string.h> #if defined(__STDC__) |