summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-05-16 13:22:09 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-05-16 13:22:09 +0000
commit73cc4a2cd7e1245d82125d233498999b108a1d7d (patch)
tree2a922846ac2a8b90a1de7bd3f3b2290ecead0916 /win32
parent49e9468085d1a0d451703e614746bde8f81e2564 (diff)
* win32/win32.h, {bcc32,win32,wince}/Makefile.sub: moved rb_[ugp]id_t
to get rid of redefinition warnings on mingw. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r--win32/Makefile.sub3
-rw-r--r--win32/win32.h3
2 files changed, 3 insertions, 3 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index 6d3e069788..16494794bf 100644
--- a/win32/Makefile.sub
+++ b/win32/Makefile.sub
@@ -221,6 +221,9 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub
#define HAVE_FCNTL_H 1
#define HAVE_SYS_UTIME_H 1
#define HAVE_FLOAT_H 1
+#define rb_pid_t int
+#define rb_gid_t int
+#define rb_uid_t int
#define HAVE_STRUCT_STAT_ST_RDEV 1
#define HAVE_ST_RDEV 1
#define GETGROUPS_T int
diff --git a/win32/win32.h b/win32/win32.h
index b41b912e8e..c73b91bda5 100644
--- a/win32/win32.h
+++ b/win32/win32.h
@@ -69,9 +69,6 @@ extern "C++" {
}
#endif
-#define rb_pid_t int
-#define rb_gid_t int
-#define rb_uid_t int
#define WNOHANG -1
#undef getc