mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
fix mswin32 build error.
* missing/setproctitle.c: oadd #ifdef HAVE_UNISTD_H. * win32/Makefile.sub (MISSING): add setproctitle.obj git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d19cda5fa6
commit
887063f44b
3 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
Sun May 15 00:58:47 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||
fix mswin32 build error.
|
||||
|
||||
* missing/setproctitle.c: oadd #ifdef HAVE_UNISTD_H.
|
||||
* win32/Makefile.sub (MISSING): add setproctitle.obj
|
||||
|
||||
Sat May 14 22:45:28 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||
|
||||
* missing/setproctitle.c: add to include "ruby/util.h".
|
||||
|
|
|
@ -39,7 +39,9 @@
|
|||
|
||||
#include <stdarg.h>
|
||||
#include <stdlib.h>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
#ifdef HAVE_SYS_PSTAT_H
|
||||
#include <sys/pstat.h>
|
||||
#endif
|
||||
|
|
|
@ -221,7 +221,7 @@ LIBS = oldnames.lib user32.lib advapi32.lib shell32.lib ws2_32.lib imagehlp.lib
|
|||
LIBS = unicows.lib $(LIBS)
|
||||
!endif
|
||||
!if !defined(MISSING)
|
||||
MISSING = acosh.obj cbrt.obj crypt.obj erf.obj ffs.obj langinfo.obj lgamma_r.obj strlcat.obj strlcpy.obj tgamma.obj win32.obj
|
||||
MISSING = acosh.obj cbrt.obj crypt.obj erf.obj ffs.obj langinfo.obj lgamma_r.obj strlcat.obj strlcpy.obj tgamma.obj win32.obj setproctitle.obj
|
||||
!endif
|
||||
|
||||
ARFLAGS = -machine:$(MACHINE) -out:
|
||||
|
|
Loading…
Reference in a new issue