summaryrefslogtreecommitdiffstats
path: root/src/core/common.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-07-16 18:25:46 +0200
committerGitHub <noreply@github.com>2019-07-16 18:25:46 +0200
commit568b3de9cc682b4963d4fc6129692d11cfffe64a (patch)
treee119d9af8c6dc6fe93387c1cb264ea12304fbc0a /src/core/common.h
parentstarted making frontend accurate to game (diff)
parentfix (diff)
downloadre3-568b3de9cc682b4963d4fc6129692d11cfffe64a.tar
re3-568b3de9cc682b4963d4fc6129692d11cfffe64a.tar.gz
re3-568b3de9cc682b4963d4fc6129692d11cfffe64a.tar.bz2
re3-568b3de9cc682b4963d4fc6129692d11cfffe64a.tar.lz
re3-568b3de9cc682b4963d4fc6129692d11cfffe64a.tar.xz
re3-568b3de9cc682b4963d4fc6129692d11cfffe64a.tar.zst
re3-568b3de9cc682b4963d4fc6129692d11cfffe64a.zip
Diffstat (limited to 'src/core/common.h')
-rw-r--r--src/core/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/common.h b/src/core/common.h
index 4b7bcb0a..fd961dd7 100644
--- a/src/core/common.h
+++ b/src/core/common.h
@@ -178,3 +178,4 @@ void re3_assert(const char *expr, const char *filename, unsigned int lineno, con
#define max(a, b) (((a) > (b)) ? (a) : (b))
#define min(a, b) (((a) < (b)) ? (a) : (b))
+#define ABS(a) (((a) < 0) ? (-a) : (a))