[libclc] 144/291: Add missing undefs
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 1573d8d218d69f8cd30c602c508377a35046ec0e
Author: Jeroen Ketema <j.ketema at imperial.ac.uk>
Date: Wed Jun 18 19:37:34 2014 +0000
Add missing undefs
Reviewed-by: Tom Stellard <tom at stellard.net>
git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@211210 91177308-0d34-0410-b5e6-96231b3b80d8
---
generic/include/clc/relational/all.h | 4 +++-
generic/include/clc/relational/isequal.h | 6 ++++--
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/generic/include/clc/relational/all.h b/generic/include/clc/relational/all.h
index f917419..f8b0942 100644
--- a/generic/include/clc/relational/all.h
+++ b/generic/include/clc/relational/all.h
@@ -1,4 +1,3 @@
-
#define _CLC_ALL_DECL(TYPE) \
_CLC_OVERLOAD _CLC_DECL int all(TYPE v);
@@ -14,3 +13,6 @@ _CLC_VECTOR_ALL_DECL(char)
_CLC_VECTOR_ALL_DECL(short)
_CLC_VECTOR_ALL_DECL(int)
_CLC_VECTOR_ALL_DECL(long)
+
+#undef _CLC_ALL_DECL
+#undef _CLC_VECTOR_ALL_DECL
diff --git a/generic/include/clc/relational/isequal.h b/generic/include/clc/relational/isequal.h
index 6f7b3aa..c28a985 100644
--- a/generic/include/clc/relational/isequal.h
+++ b/generic/include/clc/relational/isequal.h
@@ -1,4 +1,3 @@
-
#define _CLC_ISEQUAL_DECL(TYPE, RETTYPE) \
_CLC_OVERLOAD _CLC_DECL RETTYPE isequal(TYPE x, TYPE y);
@@ -15,4 +14,7 @@ _CLC_VECTOR_ISEQUAL_DECL(float, int)
#ifdef cl_khr_fp64
_CLC_ISEQUAL_DECL(double, int)
_CLC_VECTOR_ISEQUAL_DECL(double, long)
-#endif
\ No newline at end of file
+#endif
+
+#undef _CLC_ISEQUAL_DECL
+#undef _CLC_VECTOR_ISEQUAL_DEC
--
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