зеркало из https://github.com/github/ruby.git
* eval.c, util.c: removed duplicated includes/defines.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
aa37cc7127
Коммит
dc2bab2207
|
@ -1,4 +1,6 @@
|
|||
Tue May 27 20:07:52 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
|
||||
Tue May 27 20:33:18 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
|
||||
|
||||
* eval.c, util.c: removed duplicated includes/defines.
|
||||
|
||||
* ext/socket/socket.c (sock_addrinfo): get rid of SEGV at NULL ptr
|
||||
String. increase buffer size for 64bit platforms.
|
||||
|
|
8
eval.c
8
eval.c
|
@ -5114,14 +5114,6 @@ rb_f_send(argc, argv, recv)
|
|||
return vid;
|
||||
}
|
||||
|
||||
#ifdef HAVE_STDARG_PROTOTYPES
|
||||
#include <stdarg.h>
|
||||
#define va_init_list(a,b) va_start(a,b)
|
||||
#else
|
||||
#include <varargs.h>
|
||||
#define va_init_list(a,b) va_start(a)
|
||||
#endif
|
||||
|
||||
VALUE
|
||||
#ifdef HAVE_STDARG_PROTOTYPES
|
||||
rb_funcall(VALUE recv, ID mid, int n, ...)
|
||||
|
|
4
util.c
4
util.c
|
@ -75,10 +75,6 @@ scan_hex(start, len, retlen)
|
|||
# define S_ISDIR(m) ((m & S_IFMT) == S_IFDIR)
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#include "missing/file.h"
|
||||
#endif
|
||||
|
||||
#if defined(MSDOS) || defined(__CYGWIN32__) || defined(_WIN32)
|
||||
/*
|
||||
* Copyright (c) 1993, Intergraph Corporation
|
||||
|
|
Загрузка…
Ссылка в новой задаче