summaryrefslogtreecommitdiffstats
path: root/vms
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-05-14 14:57:53 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-05-14 14:57:53 +0000
commit092a5c6b6a80f2d3eb3bce7e3bcb9c7b19737127 (patch)
tree78b0af99dcf7b739c0afaa59f53c338fdec6cdd9 /vms
parentab39890969f481ecf482be1490cee519abc88455 (diff)
downloadruby-092a5c6b6a80f2d3eb3bce7e3bcb9c7b19737127.tar.gz
ruby-092a5c6b6a80f2d3eb3bce7e3bcb9c7b19737127.tar.xz
ruby-092a5c6b6a80f2d3eb3bce7e3bcb9c7b19737127.zip
* configure.in: Check for the availability of pid_t, gid_t and uid_t and
remove AC_TYPE_UID_T. fixed: [ruby-core:04745] * defines.h: Remove pid_t typedef. * ruby.h: Define rb_pid_t, rb_gid_t and rb_uid_t in accordance with the available system types. * process.c: Change instances of pid_t and gid_t to their rb_* counterparts. * ext/pty/pty.c: Change pid_t to rb_pid_t. * vms/config.h: Define HAVE_{P,G,U}ID_T to 1. * win32/Makefile.sub: Remove #define for {g,u}id_t. * win32/win32.c: Change pid_t to rb_pid_t. * wince/Makefile.sub: Remove #define for {g,u}id_t. * wince/sys/types.h: Remove definitions of {p,g,u}id_t. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vms')
-rw-r--r--vms/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/vms/config.h b/vms/config.h
index bc99ec114..82d499ae2 100644
--- a/vms/config.h
+++ b/vms/config.h
@@ -23,6 +23,9 @@
#define HAVE_STRING_H 1
#define HAVE_UTIME_H 1
#define HAVE_MEMORY_H 1
+#define HAVE_PID_T 1
+#define HAVE_GID_T 1
+#define HAVE_UID_T 1
/* #define HAVE_ST_BLKSIZE 1 */
#define HAVE_ST_RDEV 1
/* #define GETGROUPS_T gid_t */