Debian Codegraph @

debian/patches/conditional-min-max

raw symbols SCIP
1 Description: Only define MIN/MAX macros if they don't already exist
2 Later kernels bring a better definition.
3 Author: Simon Richter <[email protected]>
4 Forwarded: no
5 Last-Update: 2024-12-18
6
7 --- langford-0.0.20130228.orig/langford.h
8 +++ langford-0.0.20130228/langford.h
9 @@ -112,7 +112,11 @@ typedef struct {
10 /*Program macros*/
11
12 /**Given 2 numbers, return the larger one*/
13 +#ifndef MAX
14 #define MAX(a, b) (((a) > (b)) ? (a) : (b))
15 +#endif
16
17 /**Given 2 numbers, return the smaller one*/
18 +#ifndef MIN
19 #define MIN(a, b) (((a) < (b)) ? (a) : (b))
20 +#endif