| 1 | Descriptionscip-debian debian langford 0.0.20130228-7 langford/patches/conditional-min-max#Description.: Only define MIN/MAX macros if they don't already exist |
| 2 | Later kernels bring a better definition. |
| 3 | Authorscip-debian debian langford 0.0.20130228-7 langford/patches/conditional-min-max#Author.: Simon Richter <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 4 | Forwardedscip-debian debian langford 0.0.20130228-7 langford/patches/conditional-min-max#Forwarded.: no |
| 5 | Last-Updatescip-debian debian langford 0.0.20130228-7 langford/patches/conditional-min-max#Last-Update.: 2024-12-18 |
| 6 | |
| 7 | --- langford-0.0.20130228.orig/langford.hscip-debian debian langford 0.0.20130228-7 langford/upstream/`langford-0.0.20130228.orig/langford.h`: |
| 8 | +++ langford-0.0.20130228/langford.hscip-debian debian langford 0.0.20130228-7 langford/upstream/`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 |