From f366090562dcdc1c4c0efbd87476ef6c068b7db5 Mon Sep 17 00:00:00 2001 From: Frank Gevaerts Date: Fri, 17 Sep 2010 20:28:47 +0000 Subject: Make disabling HAVE_PITCHSCREEN actually work without breaking the build git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28102 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/plugin.h') diff --git a/apps/plugin.h b/apps/plugin.h index 499e1d6..0b3a5b5 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -678,8 +678,8 @@ struct plugin_api { #if !defined(SIMULATOR) && (CONFIG_CODEC != SWCODEC) unsigned long (*mpeg_get_last_header)(void); #endif -#if (CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F) || \ - (CONFIG_CODEC == SWCODEC) +#if ((CONFIG_CODEC == MAS3587F) || (CONFIG_CODEC == MAS3539F) || \ + (CONFIG_CODEC == SWCODEC)) && defined (HAVE_PITCHSCREEN) void (*sound_set_pitch)(int32_t pitch); #endif -- cgit v1.1