On Mon, Jun 16, 2014 at 3:53 PM, Aaron Watry <[email protected]> wrote: > Author: awatry > Date: Mon Jun 16 14:53:52 2014 > New Revision: 211044 > > URL: http://llvm.org/viewvc/llvm-project?rev=211044&view=rev > Log: > clctypes.h: Don't rely on stddef.h for size_t and ptrdiff_t > > Modified: > libclc/trunk/generic/include/clc/clctypes.h > > Modified: libclc/trunk/generic/include/clc/clctypes.h > URL: > http://llvm.org/viewvc/llvm-project/libclc/trunk/generic/include/clc/clctypes.h?rev=211044&r1=211043&r2=211044&view=diff > ============================================================================== > --- libclc/trunk/generic/include/clc/clctypes.h (original) > +++ libclc/trunk/generic/include/clc/clctypes.h Mon Jun 16 14:53:52 2014 > @@ -1,6 +1,7 @@ > /* 6.1.1 Built-in Scalar Data Types */ > > -#include <stddef.h> > +typedef __SIZE_TYPE__ size_t; > +typedef __PTRDIFF_TYPE__ ptrdiff_t;
Out of curiosity, why is this change necessary? ~Aaron > > typedef unsigned char uchar; > typedef unsigned short ushort; > > > _______________________________________________ > cfe-commits mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
