From: nobu.nokada@... Date: 2005-04-24T18:05:20+09:00 Subject: Re: Win32: Ruby & APR; build problems for Ruby Subversion SWIG bindings Hi, At Wed, 20 Apr 2005 23:37:37 +0900, Erik Huelsmann wrote in [ruby-core:04747]: > Oh, but you mean that Ruby should switch to using typedef and somehow > should detect that the type already exists? I'm not aware of the > possibility to do so, but if the compiler only issues a warning, that > would be fine by me. Such redefinition is disallowed. > I was also thinking that maybe both sides should use (in the unix > version of their systems) ruby_pid_t and apr_pid_t. Then, those can be > defined to pid_t on Unix systems and to int on Win32. Also, it would > prevent namespace conflicts... Ruby is just using AC_TYPE_UID_T. So, using typedef for them, like as apr.h, means conflicts to all of autoconfiscated softwares. I think apr.h should #undef before typedef. -- Nobu Nakada