summaryrefslogtreecommitdiffstats
path: root/apps/plugins/lib/wrappers.h
diff options
context:
space:
mode:
authorMichael Giacomelli <giac2000@hotmail.com>2009-04-17 16:01:15 +0000
committerMichael Giacomelli <giac2000@hotmail.com>2009-04-17 16:01:15 +0000
commit64373a7a83b354595d05c496c8e45e953f2ea64a (patch)
tree51dbd567e26046ff22d3301e5fdbd3b4ce190a03 /apps/plugins/lib/wrappers.h
parent70353f4eb01cdb8eab92dd9b1966370510c48933 (diff)
downloadrockbox-64373a7a83b354595d05c496c8e45e953f2ea64a.tar.gz
rockbox-64373a7a83b354595d05c496c8e45e953f2ea64a.zip
Commit fix for CPU_BOOST_LOGGING by Rafaël Carré.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20724 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/lib/wrappers.h')
-rw-r--r--apps/plugins/lib/wrappers.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugins/lib/wrappers.h b/apps/plugins/lib/wrappers.h
index bb904ff946..5eb45d02c8 100644
--- a/apps/plugins/lib/wrappers.h
+++ b/apps/plugins/lib/wrappers.h
@@ -36,8 +36,12 @@
#define lseek rb->lseek
#define memset rb->memset
#ifdef HAVE_ADJUSTABLE_CPU_FREQ
+#ifdef CPU_BOOST_LOGGING
+#define cpu_boost_ rb->cpu_boost_
+#else
#define cpu_boost rb->cpu_boost
#endif
+#endif
#define yield rb->yield
#define file_exists rb->file_exists
#define snprintf rb->snprintf