diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-05-16 13:22:09 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-05-16 13:22:09 +0000 |
| commit | ca0a80817033fd6e20b2f613f08ba7d0b16b1254 (patch) | |
| tree | 2a922846ac2a8b90a1de7bd3f3b2290ecead0916 /win32 | |
| parent | add8774ba0549d55a975afecd09b27c23d059e86 (diff) | |
| download | ruby-ca0a80817033fd6e20b2f613f08ba7d0b16b1254.tar.gz ruby-ca0a80817033fd6e20b2f613f08ba7d0b16b1254.tar.xz ruby-ca0a80817033fd6e20b2f613f08ba7d0b16b1254.zip | |
* win32/win32.h, {bcc32,win32,wince}/Makefile.sub: moved rb_[ugp]id_t
to get rid of redefinition warnings on mingw.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
| -rw-r--r-- | win32/Makefile.sub | 3 | ||||
| -rw-r--r-- | win32/win32.h | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub index 6d3e06978..16494794b 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 b41b912e8..c73b91bda 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 |
