Re: Re: cvs: php-src /ext/gd gd.c

From: Date: Mon, 15 Sep 2003 12:12:23 +0000
Subject: Re: Re: cvs: php-src /ext/gd gd.c
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-4487@lists.php.net to get a copy of this message
We use ptrdiff_t elsewhere in the source and have done so for a loooong time. Search the archives for the last battle over this (involving Yasuo iirc). One of the network files (network.c?) uses it and does the right thing - dig into it a little bit :-) --Wez. > > Weird. ptrdiff_t should be declared somewhere among the standard > > library headers. (It exists in stddef.h of my vc++7) > ptrdiff_t is part if the ISO-C99 standard but not all systems are 100% > compliant.... > > > But it's not that portable yet as far as I'm concerned. Then why the heck > > is it working for snaps... > > For current HEAD i added the necessary #define for windows only because it may > be needed elsewhere and for windows it is clear how to define it.

« previous php.internals (#4487) next »