mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
remove min max macros (#1310)
* remove the MIN and MAX macros and use the std versions instead * fix formatting * fix Arm build * remove additional MIN and MAX macros from compat.h
This commit is contained in:
@@ -690,9 +690,6 @@ int has_alpha(const cl_image_format *format)
|
||||
_b ^= _a; \
|
||||
_a ^= _b; \
|
||||
} while (0)
|
||||
#ifndef MAX
|
||||
#define MAX(_a, _b) ((_a) > (_b) ? (_a) : (_b))
|
||||
#endif
|
||||
|
||||
void get_max_sizes(
|
||||
size_t *numberOfSizes, const int maxNumberOfSizes, size_t sizes[][3],
|
||||
|
||||
Reference in New Issue
Block a user