From 642ddf7201445c6abd8b7afa6efdaa1e8f1bea67 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 14 May 2005 14:57:53 +0000 Subject: * 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@8455 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- defines.h | 1 - 1 file changed, 1 deletion(-) (limited to 'defines.h') diff --git a/defines.h b/defines.h index abfd53cc1c..d0aa208b49 100644 --- a/defines.h +++ b/defines.h @@ -176,7 +176,6 @@ void xfree _((void*)); #ifndef X_OK #define X_OK 1 #endif -typedef int pid_t; #endif /* __APPLE__ */ #endif /* NeXT */ -- cgit v1.2.3