Re: PATCH ssize_t without messing with fcgi source
| From: | Ard Biesheuvel | Date: | Fri, 14 Nov 2003 11:19:48 +0000 |
| Subject: | Re: PATCH ssize_t without messing with fcgi source | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-5462@lists.php.net to get a copy of this message | ||
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