From 64373a7a83b354595d05c496c8e45e953f2ea64a Mon Sep 17 00:00:00 2001 From: Michael Giacomelli Date: Fri, 17 Apr 2009 16:01:15 +0000 Subject: Commit fix for CPU_BOOST_LOGGING by Rafaël Carré. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20724 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/lib/wrappers.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/plugins/lib') 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 -- cgit v1.2.3