This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: patch: libiberty pex for _WIN64
- From: Christopher Faylor <cgf-use-the-mailinglist-please at sourceware dot org>
- To: Ian Lance Taylor <iant at google dot com>, gdb-patches at sourceware dot org, binutils at sourceware dot org, gcc-patches at gcc dot gnu dot org, Kai Tietz <Kai dot Tietz at onevision dot com>
- Date: Fri, 3 Aug 2007 19:16:42 -0400
- Subject: Re: patch: libiberty pex for _WIN64
- References: <OFA3E07890.9C33ABB6-ONC125732C.005538AD-C125732C.00554DE4@onevision.de>
On Fri, Aug 03, 2007 at 05:31:39PM +0200, Kai Tietz wrote:
>Ian,
>
>Sorry, I missed to attach the patch 8)
>
>I prepared a patch for pex using pid_t instead of the type 'long' for
>system handles. This is necessary for _WIN64, because the long type isn't
>wide enougth to hold a pointer for this ABI The type pid_t is always
>defined by the configure in config.h if not defined by the header-set.
>Therefore it seems to be the best way to make this run.
>
>ChangeLog:
>
>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?
cgf