Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:5462 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2269 invoked by uid 1010); 14 Nov 2003 11:19:48 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 2236 invoked by uid 1007); 14 Nov 2003 11:19:47 -0000 Message-ID: <20031114111947.2235.qmail@pb1.pair.com> To: internals@lists.php.net Date: Fri, 14 Nov 2003 12:19:48 +0100 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5b) Gecko/20030903 Thunderbird/0.2 X-Accept-Language: en-us, en MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 80.126.21.70 Subject: Re: PATCH ssize_t without messing with fcgi source From: abies@php.net (Ard Biesheuvel) Steph wrote: > Works with everything. (phew!) Are you sure this will work on Win64 ? I think sizeof(ssize_t) is supposed to match the native pointer size. -- Ard > ------------------------------------------------------------------------ > > Index: main/config.w32.h > =================================================================== > RCS file: /repository/php-src/main/config.w32.h,v > retrieving revision 1.80 > diff -u -r1.80 config.w32.h > --- main/config.w32.h 13 Nov 2003 10:32:04 -0000 1.80 > +++ main/config.w32.h 14 Nov 2003 00:56:36 -0000 > @@ -174,7 +174,7 @@ > #define SIZEOF_LONG_LONG_INT 0 > #define SIZEOF_LONG_LONG 0 > #define SIZEOF_INTMAX_T 0 > -#define ssize_t SSIZE_T > +#define ssize_t int > #ifdef _WIN64 > # define SIZEOF_SIZE_T 8 > # define SIZEOF_PTRDIFF_T 8