View | Details | Raw Unified | Return to bug 231496
Collapse All | Expand All

(-)files/patch-utils.h (+20 lines)
Line 0 Link Here
1
--- utils.h.orig	2018-09-19 23:05:31 UTC
2
+++ utils.h
3
@@ -121,7 +121,7 @@ int clock_gettime(int type, struct timespec *tv);
4
  * This returns a constant expression while determining if an argument is
5
  * a constant expression, most importantly without evaluating the argument.
6
  */
7
-#define __is_constant(x)						\
8
+#define __is_it_constant(x)						\
9
 	(sizeof(int) == sizeof(*(1 ? ((void*)((long)(x) * 0l)) : (int*)1)))
10
 
11
 #define __eval_once(func, x)						\
12
@@ -136,7 +136,7 @@ int clock_gettime(int type, struct timespec *tv);
13
 #define __eval_safe(func, x) __eval_once(func, x)
14
 #else
15
 #define __eval_safe(func, x)						\
16
-	__builtin_choose_expr(__is_constant(x),				\
17
+	__builtin_choose_expr(__is_it_constant(x),			\
18
 			      func(x), __eval_once(func, x))
19
 #endif
20
 

Return to bug 231496