diff options
-rw-r--r-- | frontends/command-line/main.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/frontends/command-line/main.c b/frontends/command-line/main.c index a5a720a94..ac26b0037 100644 --- a/frontends/command-line/main.c +++ b/frontends/command-line/main.c @@ -70,6 +70,13 @@ # define N_(String) (String) #endif +#ifndef MAX +# define MAX(a, b) ((a) > (b) ? (a) : (b)) +#endif +#ifndef MIN +# define MIN(a, b) ((a) < (b) ? (a) : (b)) +#endif + #define CR(result) {int r = (result); if (r < 0) return (r);} /* Takes the current globals, and sets up the gPhoto lib with them */ |