Sebastian Bergmann <[EMAIL PROTECTED]> wrote:

>   Not yet :)
> 
>     e:\home\php\php5\ext\gd\libgd\gd_jpeg.c(442): error C2065:
>     'ptrdiff_t': Undeclared identifier
> 
>     e:\home\php\php5\ext\gd\libgd\gd_jpeg.c(442): error C2065:
>     'nbytes': Undeclared identifier

Weird. ptrdiff_t should be declared somewhere among the standard
library headers. (It exists in stddef.h of my vc++7)

C:\Program Files\Microsoft Visual Studio .NET\Vc7\include>grep "\(typedef\|#defi
ne\).*ptrdiff_t" *

stddef.h:typedef __int64             ptrdiff_t;
stddef.h:typedef _W64 int            ptrdiff_t;
stddef.h:#define offsetof(s,m)   (size_t)( (ptrdiff_t)&(((s *)0)->m) )
xmemory: #define _PDFT  ptrdiff_t


But it's not that portable yet as far as I'm concerned. Then why the heck 
is it working for snaps...

Moriyoshi

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to