summaryrefslogtreecommitdiff
path: root/include/sal/macros.h
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2016-12-20 20:39:37 +0900
committerStephan Bergmann <sbergman@redhat.com>2016-12-21 07:54:51 +0000
commitb55c205460fe7e7b133e179cd567764df7ac3508 (patch)
tree1b18cd98bf1044e19a40ce4e4a298cb206626765 /include/sal/macros.h
parentc829e01e973ac32fb625925ce83f843ad30d94db (diff)
[API CHANGE] Retire SAL_ABS
which had served since d441fa1f8cc0a17a2bc166bf2f2a44f76b83a773; we now have polymorhpic std::abs. Change-Id: Ibe48ac51508f7d9f5a44d712550237db7f553df3 Reviewed-on: https://gerrit.libreoffice.org/32225 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/sal/macros.h')
-rw-r--r--include/sal/macros.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/sal/macros.h b/include/sal/macros.h
index e5d233801295..2e5a4b9d3df3 100644
--- a/include/sal/macros.h
+++ b/include/sal/macros.h
@@ -52,10 +52,6 @@
# define SAL_BOUND(x,l,h) ((x) <= (l) ? (l) : ((x) >= (h) ? (h) : (x)))
#endif
-#ifndef SAL_ABS
-# define SAL_ABS(a) (((a) < 0) ? (-(a)) : (a))
-#endif
-
#ifndef SAL_STRINGIFY
# define SAL_STRINGIFY_ARG(x) #x
# define SAL_STRINGIFY(x) SAL_STRINGIFY_ARG(x)