mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/dbm/extconf.rb (-DDBM_HDR): substitute ' with " to avoid
a error on Win32. * win32/win32.h: better MinGW support. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@3271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
376193854f
commit
36f8b16298
3 changed files with 11 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
|||
Wed Jan 1 15:44:55 2003 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||
|
||||
* ext/dbm/extconf.rb (-DDBM_HDR): substitute ' with " to avoid
|
||||
a error on Win32.
|
||||
|
||||
* win32/win32.h: better MinGW support.
|
||||
|
||||
Wed Jan 01 02:22:20 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
|
||||
|
||||
* dln.c (init_funcname): get rid of gcc-3 -O3 warning.
|
||||
|
|
|
@ -32,7 +32,7 @@ def db_check(db)
|
|||
if have_library(db, db_prefix("dbm_open")) || have_func(db_prefix("dbm_open"))
|
||||
for hdr in $dbm_conf_headers.fetch(db, ["ndbm.h"])
|
||||
if have_header(hdr.dup)
|
||||
$CFLAGS += " " + hsearch + "-DDBM_HDR='<"+hdr+">'"
|
||||
$CFLAGS += " " + hsearch + '-DDBM_HDR="<'+hdr+'>"'
|
||||
return true
|
||||
end
|
||||
end
|
||||
|
|
|
@ -222,9 +222,11 @@ extern int gettimeofday(struct timeval *, struct timezone *);
|
|||
extern pid_t waitpid (pid_t, int *, int);
|
||||
extern int do_spawn(char *);
|
||||
extern int kill(int, int);
|
||||
|
||||
#if !defined __MINGW32__ || defined __NO_ISOCEXT
|
||||
extern int isinf(double);
|
||||
extern int isnan(double);
|
||||
|
||||
#endif
|
||||
|
||||
#if !defined S_IRUSR && !defined __MINGW32__
|
||||
#define S_IRUSR 0400
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue