This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: patch: libiberty pex for _WIN64


On Sat, Aug 04, 2007 at 11:44:03AM +0300, Eli Zaretskii wrote:
>> Date: Fri, 3 Aug 2007 19:16:42 -0400
>> From: Christopher Faylor <cgf-use-the-mailinglist-please@sourceware.org>
>> 
>> >2007-08-03  Kai Tietz   <kai.tietz@onevision.com>
>> >
>> >        * pex-common.h: (pex_funcs): Retyped wait and exec_child to pid_t.
>> >        * pex-djgpp.c: Likewise.
>> >        * pex-msdos.c: Likewise.
>> >        * pex-unix.c: Likewise.
>> >        * pex-win32.c: Likewise.
>> 
>> If long isn't long enough what is pid_t defined to be on _WIN64?
>
>I think it's "long long", as 64-bit Windows uses the P64 model.

Yeah, duh.  That was obvious.  Sorry.

Where does the "typedef long long pid_t" come from?  I only see it as
being defined as "int" in the mingw headers.  And I didn't see any
machinery in configure to derive this.

I guess I'm asking if there is another patch coming down the line which
handles the long long.

cgf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]