summaryrefslogtreecommitdiffstats
path: root/src/core/common.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2019-07-14 11:49:03 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2019-07-14 11:49:03 +0200
commit41dbd754dee344c79207e0821df6bcc262f90726 (patch)
treee80d10adead90967de74b488a8253d2d3343be73 /src/core/common.h
parentfixed policeDontCare (diff)
downloadre3-41dbd754dee344c79207e0821df6bcc262f90726.tar
re3-41dbd754dee344c79207e0821df6bcc262f90726.tar.gz
re3-41dbd754dee344c79207e0821df6bcc262f90726.tar.bz2
re3-41dbd754dee344c79207e0821df6bcc262f90726.tar.lz
re3-41dbd754dee344c79207e0821df6bcc262f90726.tar.xz
re3-41dbd754dee344c79207e0821df6bcc262f90726.tar.zst
re3-41dbd754dee344c79207e0821df6bcc262f90726.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..e57c59d8 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))