zathura/zathura/macros.h
Sebastian Ramacher 4f6bd04f23 Move MIN and MAX
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
2015-11-12 23:15:45 +01:00

20 lines
341 B
C

/* See LICENSE file for license and copyright information */
#ifndef ZATHURA_MACROS_H
#define ZATHURA_MACROS_H
#include <girara/macros.h>
#define UNUSED(x) GIRARA_UNUSED(x)
#define DEPRECATED(x) GIRARA_DEPRECATED(x)
#ifndef MIN
#define MIN(a,b) (((a)<(b))?(a):(b))
#endif
#ifndef MAX
#define MAX(a,b) (((a)>(b))?(a):(b))
#endif
#endif