Angus Leeming <[EMAIL PROTECTED]> writes:

| Lars Gullik Bjønnes wrote:
>> Angus Leeming wrote:
>> | Rob Bearman wrote:
>>>> With the recent changes to forkedcontr.h and forkedcall.*, I found that
>>>> I needed to reinstate the typedef shown below to forkedcall.h and
>>>> forkedcontr.h:
>>>> 
>>>> #ifdef _WIN32
>>>> typedef int pid_t;
>>>> #endif
>>>
>> | I think that this one is fine, although it should become
>> 
>> Not possible to put this in os_win32.h? 
>
| We want to get rid of os_win32.h. It's just a bunch of evil kludges.
>
>> or make configure check for it and set it in config.h?
>
| I guess that it is *possible*, but really do we care? How would user code
| look?
>
|     PID_TYPE foo();
>
| or would config.h have the typedef?

the typedef.

so that we only use pid_t in the code.

There already exist a AC_TYPE_PID_T macro in autoconf,
if we should use that or AC_CHECK_TYPE(pid_t, int) I am not sure
about.

We should at the very least use something similar.

-- 
        Lgb

Reply via email to