diff options
author | Bert Münnich <be.muennich@googlemail.com> | 2012-08-16 13:09:44 +0200 |
---|---|---|
committer | Bert Münnich <be.muennich@googlemail.com> | 2012-08-16 13:09:44 +0200 |
commit | 8a652a786c2edc5f630d6f032d8ef775cdea9142 (patch) | |
tree | ee3dd5cef32c277fc9722783c7c01dea2b9db5de /util.h | |
parent | 4ce323213dbafd8e82b7f0cbcf4d7d20598ddf22 (diff) |
Corrected zoom level handling
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |