[libclc] 141/291: Revert "clctypes.h: Don't rely on stddef.h for size_t and ptrdiff_t"
Andreas Beckmann
anbe at moszumanska.debian.org
Tue Sep 8 10:53:43 UTC 2015
This is an automated email from the git hooks/post-receive script.
anbe pushed a commit to branch master
in repository libclc.
commit 21abf5e4480ce00896663b9dd4e5f4745340d519
Author: Aaron Watry <awatry at gmail.com>
Date: Mon Jun 16 20:21:19 2014 +0000
Revert "clctypes.h: Don't rely on stddef.h for size_t and ptrdiff_t"
This reverts commit 4cf021ae67b6ea8cfd42aa76ce6f5e1c329e145a.
git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@211049 91177308-0d34-0410-b5e6-96231b3b80d8
---
generic/include/clc/clctypes.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/generic/include/clc/clctypes.h b/generic/include/clc/clctypes.h
index 9271ee6..ca1372d 100644
--- a/generic/include/clc/clctypes.h
+++ b/generic/include/clc/clctypes.h
@@ -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;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/libclc.git
More information about the Pkg-opencl-commits
mailing list