* bcc32/Makefile.sub: bccwin32 port starts to use RTL dll.

(need to rebuild all) [ruby-dev:24138]

* win32/win32.{h,c}: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ocean 2004-09-10 10:24:08 +00:00
parent ed1a776ae0
commit 6302bcf022
4 changed files with 15 additions and 3 deletions

View File

@ -1,3 +1,10 @@
Fri Sep 10 19:16:24 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
* bcc32/Makefile.sub: bccwin32 port starts to use RTL dll.
(need to rebuild all) [ruby-dev:24138]
* win32/win32.{h,c}: ditto.
Fri Sep 10 15:55:59 2004 Minero Aoki <aamine@loveruby.net>
* lib/fileutils.rb (mkdir_p): should pass mode argument to

View File

@ -114,7 +114,7 @@ RDOCTARGET = install-doc
OUTFLAG = -o
!ifndef CFLAGS
CFLAGS = -q $(DEBUGFLAGS) $(OPTFLAGS) $(PROCESSOR_FLAG) -w- -wsus -wcpt -wdup -wext -wrng -wrpt -wzdi
CFLAGS = -q -tWR -tWC $(DEBUGFLAGS) $(OPTFLAGS) $(PROCESSOR_FLAG) -w- -wsus -wcpt -wdup -wext -wrng -wrpt -wzdi
!endif
!ifndef CPPFLAGS
CPPFLAGS = -I. -I$(srcdir) -I$(srcdir)missing
@ -128,7 +128,7 @@ RFLAGS = $(iconinc)
!ifndef EXTLIBS
EXTLIBS =
!endif
LIBS = cw32.lib import32.lib ws2_32.lib $(EXTLIBS)
LIBS = cw32i.lib import32.lib ws2_32.lib $(EXTLIBS)
MISSING = acosh.obj crypt.obj erf.obj win32.obj
!ifndef STACK

View File

@ -3305,7 +3305,13 @@ rb_w32_getpid(void)
{
pid_t pid;
#ifndef __BORLANDC__
pid = _getpid();
#else
#undef getpid
pid = getpid();
#endif
if (IsWin95()) pid = -pid;
return pid;

View File

@ -108,7 +108,6 @@ extern "C++" {
#define perror(s) _perror(s)
#define read(h, b, l) _read(h, b, l)
#define tell(h) _tell(h)
#define umask(m) _umask(m)
#define unlink(p) _unlink(p)
#define write(h, b, l) _write(h, b, l)
#define _open _sopen