From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mimir.eigenstate.org ([206.124.132.107]) by ewsd; Sat Mar 7 10:55:10 EST 2020 Received: from abbatoir.fios-router.home (pool-162-83-132-245.nycmny.fios.verizon.net [162.83.132.245]) by mimir.eigenstate.org (OpenSMTPD) with ESMTPSA id 4f52b3dc (TLSv1.2:ECDHE-RSA-AES256-SHA:256:NO); Sat, 7 Mar 2020 07:55:02 -0800 (PST) Message-ID: To: plan9fullfrontal@qs.co.nz, 9front@9front.org Subject: Re: [9front] APE stddef.h ptrdiff_t should it be 8? Date: Sat, 7 Mar 2020 07:55:00 -0800 From: ori@eigenstate.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: virtualized hosting hypervisor > I ran into a fustercluck trying to get tcl to run on amd64. Can you be more specific? What failed? > Turns out it is due to APE ptrdiff_t being defined as long and not long > long (which it is on *nix). > > What is the correct definition of ptrdiff_t on amd64? The definition should be a vlong, since that's what subtracting two pointers yields. If you want to submit a patch, the system dependent location for this is: /$objtype/include/ape/stdint.h