BH wrote: > On Sun, Mar 14, 2010 at 9:53 AM, Pavel Sanda <sa...@lyx.org> wrote: > > BH wrote: > > not sure, but probably in > >> #include <_types.h> > > > > one can find definition of __darwin_ptrdiff_t . > > can you show it? > > I'm not sure if this is what you're looking for. I have multiple > _types.h in various places, but they all have this: > > #if defined(__GNUC__) && defined(__PTRDIFF_TYPE__) > typedef __PTRDIFF_TYPE__ __darwin_ptrdiff_t; /* ptr1 - ptr2 */ > #else > typedef int __darwin_ptrdiff_t; /* ptr1 - ptr2 */ > #endif /* __GNUC__ */ > > > (This is the only place where "__darwin_ptrdiff_t" shows up in any file.)
to close the circle, if you try to find defintion of __PTRDIFF_TYPE__ you will find ptrdiff_t, right? pavel