We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f1ea85 commit 15fd7ebCopy full SHA for 15fd7eb
lib/vc8000nanoe/README.rst
@@ -82,3 +82,6 @@ Patch List:
82
83
* Avoid bool redefinition
84
Impacted files: inc/basetype.h
85
+
86
+ * Avoid MIN/MAX redefinition
87
+ Impacted files: inc/enccommon.h
lib/vc8000nanoe/inc/enccommon.h
@@ -153,8 +153,6 @@ typedef struct
153
154
/* General tools */
155
#define ABS(x) ((x) < (0) ? -(x) : (x))
156
-#define MAX(a, b) ((a) > (b) ? (a) : (b))
157
-#define MIN(a, b) ((a) < (b) ? (a) : (b))
158
#define SIGN(a) ((a) < (0) ? (-1) : (1))
159
#define OUT_OF_RANGE(x,a,b) ((((i32)x)<(a)?(1):(0)) || ((x)>(b)?(1):(0)))
160
#define CLIP3(v, min, max) ((v) < (min) ? (min) : ((v) > (max) ? (max) : (v)))
0 commit comments