summaryrefslogtreecommitdiff
path: root/ruby.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-05-15 09:56:53 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-05-15 09:56:53 +0000
commitad76d75ea594d0bbf84b3ae94e5897680b454312 (patch)
treef39946fad0b6b085b358d2b7b25483f769abcb3a /ruby.h
parent21e22f8f969c5a7314a08a9d3e5d591ae5914d5c (diff)
* configure.in, ruby.h: define rb_[pgu]id_t macros instead of typedefs
to get rid of types which might not be defined yet. [ruby-dev:26165] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.h')
-rw-r--r--ruby.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/ruby.h b/ruby.h
index c5dcbff219..db3280b905 100644
--- a/ruby.h
+++ b/ruby.h
@@ -76,24 +76,6 @@ extern "C" {
typedef unsigned long VALUE;
typedef unsigned long ID;
-#ifndef HAVE_PID_T
- typedef int rb_pid_t;
-#else
- typedef pid_t rb_pid_t;
-#endif
-
-#ifndef HAVE_GID_T
- typedef int rb_gid_t;
-#else
- typedef gid_t rb_gid_t;
-#endif
-
-#ifndef HAVE_UID_T
- typedef int rb_uid_t;
-#else
- typedef uid_t rb_uid_t;
-#endif
-
#ifdef __STDC__
# include <limits.h>
#else