From: Keith W. <ke...@tu...> - 2003-12-08 15:32:18
|
Alan, Does this actually address the issue - ie. how does this fit in with ptrdiff_t? Keith > Index: programs/Xserver/hw/xfree86/os-support/xf86_libc.h > =================================================================== > RCS file: /cvs/dri/xc/xc/programs/Xserver/hw/xfree86/os-support/xf86_libc.h,v > retrieving revision 1.16 > diff -u -r1.16 xf86_libc.h > --- programs/Xserver/hw/xfree86/os-support/xf86_libc.h 12 Sep 2003 19:39:06 -0000 1.16 > +++ programs/Xserver/hw/xfree86/os-support/xf86_libc.h 8 Dec 2003 14:58:42 -0000 > @@ -80,7 +80,11 @@ > }; > typedef struct _xf86dirent XF86DIRENT; > > +#if !(defined (__GNUG__) && defined (size_t)) > +typedef unsigned int xf86size_t; > +#else > typedef unsigned long xf86size_t; > +#endif > typedef signed long xf86ssize_t; > typedef unsigned long xf86dev_t; > typedef unsigned int xf86mode_t; > > |