[libclc] 31/92: Do no circularly define NULL
Andreas Boll
aboll-guest at moszumanska.debian.org
Mon Nov 6 15:11:58 UTC 2017
This is an automated email from the git hooks/post-receive script.
aboll-guest pushed a commit to branch master
in repository libclc.
commit 5a3d04c12747b444c9c58473ab3b9b26fd75cd0f
Author: Jeroen Ketema <j.ketema at xs4all.nl>
Date: Sun Oct 1 20:10:14 2017 +0000
Do no circularly define NULL
Reviewed-by: Jan Vesely <jan.vesely at rutgers.edu>
git-svn-id: https://llvm.org/svn/llvm-project/libclc/trunk@314633 91177308-0d34-0410-b5e6-96231b3b80d8
---
generic/include/clc/clcmacros.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/generic/include/clc/clcmacros.h b/generic/include/clc/clcmacros.h
index d821a36..2282d36 100644
--- a/generic/include/clc/clcmacros.h
+++ b/generic/include/clc/clcmacros.h
@@ -9,7 +9,7 @@
#define CLC_VERSION_1_2 120
#endif
-#define NULL ((void*)NULL)
+#define NULL ((void*)0)
#define __kernel_exec(X, typen) __kernel \
__attribute__((work_group_size_hint(X, 1, 1))) \
--
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