[libclc] r211049 - Revert "clctypes.h: Don't rely on stddef.h for size_t and ptrdiff_t"

Aaron Watry awatry at gmail.com
Mon Jun 16 13:21:19 PDT 2014


Author: awatry
Date: Mon Jun 16 15:21:19 2014
New Revision: 211049

URL: http://llvm.org/viewvc/llvm-project?rev=211049&view=rev
Log:
Revert "clctypes.h: Don't rely on stddef.h for size_t and ptrdiff_t"

This reverts commit 4cf021ae67b6ea8cfd42aa76ce6f5e1c329e145a.

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=211049&r1=211048&r2=211049&view=diff
==============================================================================
--- libclc/trunk/generic/include/clc/clctypes.h (original)
+++ libclc/trunk/generic/include/clc/clctypes.h Mon Jun 16 15:21:19 2014
@@ -1,7 +1,6 @@
 /* 6.1.1 Built-in Scalar Data Types */
 
-typedef __SIZE_TYPE__ size_t;
-typedef __PTRDIFF_TYPE__ ptrdiff_t;
+#include <stddef.h>
 
 typedef unsigned char uchar;
 typedef unsigned short ushort;





More information about the cfe-commits mailing list