#ifdef instead of #if

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12362 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Daniel Stenberg 2007-02-17 22:26:14 +00:00
parent 0c74d2ce8e
commit 7bcfc1ddfe
2 changed files with 2 additions and 2 deletions

View file

@ -680,7 +680,7 @@ static void display_bookmark(const char* bookmark,
/* bookmark shuffle and repeat states*/
switch (repeat_mode)
{
#if (AB_REPEAT_ENABLE == 1)
#ifdef AB_REPEAT_ENABLE
case REPEAT_AB:
statusbar_icon_play_mode(Icon_RepeatAB);
break;

View file

@ -143,7 +143,7 @@ enum
REPEAT_ALL,
REPEAT_ONE,
REPEAT_SHUFFLE,
#if (AB_REPEAT_ENABLE == 1)
#ifdef AB_REPEAT_ENABLE
REPEAT_AB,
#endif
NUM_REPEAT_MODES