mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-10 23:53:53 +01:00
Move MIN and MAX
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
108533804b
commit
4f6bd04f23
@ -8,4 +8,12 @@
|
|||||||
#define UNUSED(x) GIRARA_UNUSED(x)
|
#define UNUSED(x) GIRARA_UNUSED(x)
|
||||||
#define DEPRECATED(x) GIRARA_DEPRECATED(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
|
#endif
|
||||||
|
@ -20,14 +20,6 @@
|
|||||||
#include "adjustment.h"
|
#include "adjustment.h"
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
#ifndef MIN
|
|
||||||
#define MIN(a,b) (((a)<(b))?(a):(b))
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef MAX
|
|
||||||
#define MAX(a,b) (((a)>(b))?(a):(b))
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Helper function; see sc_display_link and sc_follow. */
|
/* Helper function; see sc_display_link and sc_follow. */
|
||||||
static bool
|
static bool
|
||||||
draw_links(zathura_t* zathura)
|
draw_links(zathura_t* zathura)
|
||||||
|
Loading…
Reference in New Issue
Block a user