From 8a652a786c2edc5f630d6f032d8ef775cdea9142 Mon Sep 17 00:00:00 2001 From: Bert Münnich Date: Thu, 16 Aug 2012 13:09:44 +0200 Subject: Corrected zoom level handling --- util.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'util.h') diff --git a/util.h b/util.h index f1f4f14..2a139ec 100644 --- a/util.h +++ b/util.h @@ -27,6 +27,9 @@ #include "types.h" +#ifndef ABS +#define ABS(a) ((a) < 0 ? -(a) : (a)) +#endif #ifndef MIN #define MIN(a,b) ((a) < (b) ? (a) : (b)) #endif -- cgit v1.2.3-70-g09d2