summaryrefslogtreecommitdiff
path: root/disk/part_amiga.c
diff options
context:
space:
mode:
Diffstat (limited to 'disk/part_amiga.c')
-rw-r--r--disk/part_amiga.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/disk/part_amiga.c b/disk/part_amiga.c
index 41e68fcf0b..6c3d748970 100644
--- a/disk/part_amiga.c
+++ b/disk/part_amiga.c
@@ -26,9 +26,9 @@
#include <ide.h>
#include "part_amiga.h"
-#if ((CONFIG_COMMANDS & CFG_CMD_IDE) || \
- (CONFIG_COMMANDS & CFG_CMD_SCSI) || \
- (CONFIG_COMMANDS & CFG_CMD_USB) || \
+#if (defined(CONFIG_CMD_IDE) || \
+ defined(CONFIG_CMD_SCSI) || \
+ defined(CONFIG_CMD_USB) || \
defined(CONFIG_MMC) || \
defined(CONFIG_SYSTEMACE) ) && defined(CONFIG_AMIGA_PARTITION)