diff options
Diffstat (limited to 'recordmydesktop/src/rmd_macro.h')
-rw-r--r-- | recordmydesktop/src/rmd_macro.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/recordmydesktop/src/rmd_macro.h b/recordmydesktop/src/rmd_macro.h index 37c032d..2f1ac88 100644 --- a/recordmydesktop/src/rmd_macro.h +++ b/recordmydesktop/src/rmd_macro.h @@ -76,5 +76,8 @@ #define Y_UNIT_WIDTH 0x0010 #define UV_UNIT_WIDTH 0x0008 +#define MAX(a, b) ((a) < (b)) ? (b) : (a) +#define MIN(a, b) ((a) > (b)) ? (b) : (a) + #endif |