1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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:
nobu 2003-05-27 11:33:46 +00:00
parent aa37cc7127
commit dc2bab2207
3 changed files with 3 additions and 13 deletions

View file

@ -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 * ext/socket/socket.c (sock_addrinfo): get rid of SEGV at NULL ptr
String. increase buffer size for 64bit platforms. String. increase buffer size for 64bit platforms.

8
eval.c
View file

@ -5114,14 +5114,6 @@ rb_f_send(argc, argv, recv)
return vid; 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 VALUE
#ifdef HAVE_STDARG_PROTOTYPES #ifdef HAVE_STDARG_PROTOTYPES
rb_funcall(VALUE recv, ID mid, int n, ...) rb_funcall(VALUE recv, ID mid, int n, ...)

4
util.c
View file

@ -75,10 +75,6 @@ scan_hex(start, len, retlen)
# define S_ISDIR(m) ((m & S_IFMT) == S_IFDIR) # define S_ISDIR(m) ((m & S_IFMT) == S_IFDIR)
#endif #endif
#ifdef _WIN32
#include "missing/file.h"
#endif
#if defined(MSDOS) || defined(__CYGWIN32__) || defined(_WIN32) #if defined(MSDOS) || defined(__CYGWIN32__) || defined(_WIN32)
/* /*
* Copyright (c) 1993, Intergraph Corporation * Copyright (c) 1993, Intergraph Corporation