Add PACMAN_MIN()' and
PACMAN_MAX()'
This commit is contained in:
parent
9d72c82ec4
commit
aeeaa3524c
1 changed files with 5 additions and 0 deletions
|
@ -41,6 +41,11 @@
|
|||
#define _n(str1, str2, ct) (char *)(ct == 1 ? str1 : str2)
|
||||
#endif
|
||||
|
||||
/* Macro to determine minimal value */
|
||||
#define PACMAN_MIN(a, b) ((a) > (b) ? (b) : (a))
|
||||
/* Macro to determine maximum value */
|
||||
#define PACMAN_MAX(a, b) ((a) > (b) ? (a) : (b))
|
||||
|
||||
typedef struct _pm_target_t {
|
||||
alpm_pkg_t *remove;
|
||||
alpm_pkg_t *install;
|
||||
|
|
Loading…
Add table
Reference in a new issue