[libclc] r314633 - Do no circularly define NULL
Jeroen Ketema via cfe-commits
cfe-commits at lists.llvm.org
Sun Oct 1 13:10:14 PDT 2017
Author: jketema
Date: Sun Oct 1 13:10:14 2017
New Revision: 314633
URL: http://llvm.org/viewvc/llvm-project?rev=314633&view=rev
Log:
Do no circularly define NULL
Reviewed-by: Jan Vesely <jan.vesely at rutgers.edu>
Modified:
libclc/trunk/generic/include/clc/clcmacros.h
Modified: libclc/trunk/generic/include/clc/clcmacros.h
URL: http://llvm.org/viewvc/llvm-project/libclc/trunk/generic/include/clc/clcmacros.h?rev=314633&r1=314632&r2=314633&view=diff
==============================================================================
--- libclc/trunk/generic/include/clc/clcmacros.h (original)
+++ libclc/trunk/generic/include/clc/clcmacros.h Sun Oct 1 13:10:14 2017
@@ -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))) \
More information about the cfe-commits
mailing list