diff options
author | uema2 <uema2@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-12-15 03:18:08 +0000 |
---|---|---|
committer | uema2 <uema2@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-12-15 03:18:08 +0000 |
commit | b19e36a214a864572baee3643ddb369cfeb94d77 (patch) | |
tree | 5bd7fecbef75dd74f4810cda212bf989f43a95a3 /process.c | |
parent | c476b6e05c1cae6de5d24b823e676566ae27de6c (diff) | |
download | ruby-b19e36a214a864572baee3643ddb369cfeb94d77.tar.gz |
* configure.in, defines.h, dir.c, dir.h, dln.c, error.c,
eval.c, file.c, hash.c, io.c, main.c, missing.c,
process.c, ruby.c, rubysig.h, signal.c, st.c, util.c, util.h,
bcc/Makefile.sub, win32/Makefile.sub, win32/win32.h,
ext/Win32API/Win32API.c, ext/socket/getaddrinfo.c,
ext/socket/getnameinfo.c, ext/socket/socket.c,
ext/tcltklib/stubs.c
: replace "NT" with "_WIN32", add DOSISH_DRIVE_LETTER
* wince/exe.mak : delete \r at the end of lines.
* wince/mswince-ruby17.def : delete rb_obj_become
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r-- | process.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -42,7 +42,7 @@ struct timeval rb_time_interval _((VALUE)); #include <sys/times.h> #endif -#if defined(HAVE_TIMES) || defined(NT) || defined(_WIN32_WCE) +#if defined(HAVE_TIMES) || defined(_WIN32) static VALUE S_Tms; #endif @@ -74,7 +74,7 @@ get_pid() static VALUE get_ppid() { -#if defined(NT) || defined(_WIN32_WCE) +#ifdef _WIN32 return INT2FIX(0); #else return INT2FIX(getppid()); @@ -712,7 +712,7 @@ static VALUE rb_f_fork(obj) VALUE obj; { -#if !defined(__human68k__) && !defined(NT) && !defined(__MACOS__) && !defined(__EMX__) && !defined(__VMS) && !defined(_WIN32_WCE) +#if !defined(__human68k__) && !defined(_WIN32) && !defined(__MACOS__) && !defined(__EMX__) && !defined(__VMS) int pid; rb_secure(2); @@ -805,7 +805,7 @@ rb_f_system(argc, argv) int argc; VALUE *argv; { -#if defined(NT) || defined(__EMX__) || defined(_WIN32_WCE) +#if defined(_WIN32) || defined(__EMX__) VALUE cmd; int status; @@ -1295,7 +1295,7 @@ Init_process() rb_mProcess = rb_define_module("Process"); -#if !defined(NT) && !defined(DJGPP) && !defined(_WIN32_WCE) +#if !defined(_WIN32) && !defined(DJGPP) #ifdef WNOHANG rb_define_const(rb_mProcess, "WNOHANG", INT2FIX(WNOHANG)); #else @@ -1371,7 +1371,7 @@ Init_process() rb_define_module_function(rb_mProcess, "times", rb_proc_times, 0); -#if defined(HAVE_TIMES) || defined(NT) || defined(_WIN32_WCE) +#if defined(HAVE_TIMES) || defined(_WIN32) S_Tms = rb_struct_define("Tms", "utime", "stime", "cutime", "cstime", 0); #endif } |