freebsd-ports/devel/ocl-icd/files/patch-ocl__icd__debug.h
Martin Wilke 12eabf3e3c - Update to 2.2.11
PR:		216739
Submitted by:	ohartmann@walstatt.org
Approved by:	maintainer timeout
2017-03-03 05:29:42 +00:00

15 lines
469 B
C

--- ocl_icd_debug.h.orig 2016-04-24 12:11:57 UTC
+++ ocl_icd_debug.h
@@ -61,9 +61,9 @@ extern int debug_ocl_icd_mask;
return ret; \
} while(0)
# define RETURN_STR(val) do { \
- char* _ret=(char*)(val); \
- debug(D_TRACE, "return: %s", _ret); \
- return _ret; \
+ char* _return_str=(char*)(val); \
+ debug(D_TRACE, "return: %s", _return_str); \
+ return _return_str; \
} while(0)
# ifdef DEBUG_OCL_ICD_PROVIDE_DUMP_FIELD
# pragma GCC diagnostic push