summaryrefslogtreecommitdiff
path: root/apps/plugins/puzzles/rbcompat.h
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2018-06-20 19:13:03 -0400
committerFranklin Wei <git@fwei.tk>2018-06-20 19:13:03 -0400
commitd64ff86fb6be22875cfae054f8a878dbd8b1472b (patch)
tree64f09b043bd7f1b2a327c2bf5f1517353b8884f9 /apps/plugins/puzzles/rbcompat.h
parent708a54d3de31ef76f524baeb0f5c2697589e93d7 (diff)
downloadrockbox-d64ff86fb6be22875cfae054f8a878dbd8b1472b.tar.gz
rockbox-d64ff86fb6be22875cfae054f8a878dbd8b1472b.zip
puzzles: resync with upstream
This brings the source to upstream commit 506b073 (though I have made some extra commits on top of that). Notably this includes a fix for a double-free bug that I myself introduced upstream. Change-Id: I02671586bbc34d63e05398ee971271fed42538cf
Diffstat (limited to 'apps/plugins/puzzles/rbcompat.h')
-rw-r--r--apps/plugins/puzzles/rbcompat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/plugins/puzzles/rbcompat.h b/apps/plugins/puzzles/rbcompat.h
index 272f97db30..7934f5d801 100644
--- a/apps/plugins/puzzles/rbcompat.h
+++ b/apps/plugins/puzzles/rbcompat.h
@@ -77,5 +77,6 @@ double acos_wrapper(double x);
77#endif 77#endif
78 78
79#define abs(x) ((x)<0?-(x):(x)) 79#define abs(x) ((x)<0?-(x):(x))
80#define labs abs
80 81
81#endif 82#endif