* 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
@ -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>
|
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
|
* array.c (rb_ary_collect): must get length of array for each
|
||||||
|
@ -25,7 +25,9 @@
|
|||||||
|
|
||||||
static VALUE sPasswd, sGroup;
|
static VALUE sPasswd, sGroup;
|
||||||
|
|
||||||
char *getenv _((const char *));
|
#ifndef _WIN32
|
||||||
|
char *getenv();
|
||||||
|
#endif
|
||||||
char *getlogin();
|
char *getlogin();
|
||||||
|
|
||||||
static VALUE
|
static VALUE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user