RE: [PHP-DEV] Re: PATCH ssize_t without messing with fcgi source

From: Date: Fri, 14 Nov 2003 16:01:28 +0000
Subject: RE: [PHP-DEV] Re: PATCH ssize_t without messing with fcgi source
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-5466@lists.php.net to get a copy of this message
> ... except that INT_PTR is 64-bit on Win64, and int is not. > yeah, I just found that too :) This means that php-src is currently correct for all architectures but fcgi src is not. So what's the best line of attack here? #ifdef _WIN64 + # define ssize_t SSIZE_T # define SIZEOF_SIZE_T 8 # define SIZEOF_PTRDIFF_T 8 #else + # define ssize_t int # define SIZEOF_SIZE_T 4 # define SIZEOF_PTRDIFF_T 4 #endif ?

« previous php.internals (#5466) next »