mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/etc/etc.c: revert getenv()'s prototype. use it only when _WIN32
is not defined. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5b9afca5e4
commit
fabe115f9b
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Thu Jul 31 23:02:47 2003 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* ext/etc/etc.c: revert getenv()'s prototype. use it only when _WIN32
|
||||
is not defined.
|
||||
|
||||
Thu Jul 31 15:25:12 2003 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* array.c (rb_ary_collect): must get length of array for each
|
||||
|
|
|
@ -25,7 +25,9 @@
|
|||
|
||||
static VALUE sPasswd, sGroup;
|
||||
|
||||
char *getenv _((const char *));
|
||||
#ifndef _WIN32
|
||||
char *getenv();
|
||||
#endif
|
||||
char *getlogin();
|
||||
|
||||
static VALUE
|
||||
|
|
Loading…
Reference in a new issue