/**
* \file macros.h
* Part of common.h, defines common small macros if needed
*/
#ifndef MACROS_H
#define MACROS_H
#ifndef MIN
/** x < y ? x : y */
# define MIN(_x, _y) (((_x) < (_y)) ? (_x) : (_y))
#endif
#ifndef MAX
/** x > y ? x : y */
# define MAX(_x, _y) (((_x) > (_y)) ? (_x) : (_y))
#endif
#endif /* MACROS_H */