From 64373a7a83b354595d05c496c8e45e953f2ea64a Mon Sep 17 00:00:00 2001 From: Michael Giacomelli Date: Fri, 17 Apr 2009 16:01:15 +0000 Subject: [PATCH] =?UTF-8?q?Commit=20fix=20for=20CPU=5FBOOST=5FLOGGING=20by?= =?UTF-8?q?=20Rafa=C3=ABl=20Carr=C3=A9.?= 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(+) 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