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. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php