* missing.h: include <stdarg.h> or <varargs.h> if HAVE_VSNPRINTF
is not defined. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
eac185d848
commit
3c59330bfe
@ -1,3 +1,8 @@
|
|||||||
|
Fri Mar 21 01:29:35 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||||
|
|
||||||
|
* missing.h: include <stdarg.h> or <varargs.h> if HAVE_VSNPRINTF
|
||||||
|
is not defined.
|
||||||
|
|
||||||
Thu Mar 20 18:31:37 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
|
Thu Mar 20 18:31:37 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
|
||||||
|
|
||||||
* lib/optparse.rb (OptionParser#order!): follow recent change
|
* lib/optparse.rb (OptionParser#order!): follow recent change
|
||||||
|
@ -118,6 +118,11 @@ extern unsigned long strtoul _((char *, char **, int));
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef HAVE_VSNPRINTF
|
#ifndef HAVE_VSNPRINTF
|
||||||
|
# ifdef HAVE_STDARG_PROTOTYPES
|
||||||
|
# include <stdarg.h>
|
||||||
|
# else
|
||||||
|
# include <varargs.h>
|
||||||
|
# endif
|
||||||
extern snprintf __((char *, size_t n, char const *, ...));
|
extern snprintf __((char *, size_t n, char const *, ...));
|
||||||
extern vsnprintf _((char *, size_t n, char const *, va_list));
|
extern vsnprintf _((char *, size_t n, char const *, va_list));
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user