diff --git a/apps/plugin.c b/apps/plugin.c index bdcdffbdcc..dfb1cbdb82 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -860,7 +860,7 @@ static const struct plugin_api rockbox_api = { wheel_send_events, #endif -#if defined(IRIVER_H100_SERIES) || defined(IRIVER_H300_SERIES) +#if !defined(SIMULATOR) && (defined(IRIVER_H100_SERIES) || defined(IRIVER_H300_SERIES)) /* Routines for the iriver_flash -plugin. */ detect_original_firmware, detect_flashed_ramimage, diff --git a/apps/plugin.h b/apps/plugin.h index 54fedf28ec..26432b5b9b 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -1025,7 +1025,7 @@ struct plugin_api { void (*wheel_send_events)(bool send); #endif -#if defined(IRIVER_H100_SERIES) || defined(IRIVER_H300_SERIES) +#if !defined(SIMULATOR) && (defined(IRIVER_H100_SERIES) || defined(IRIVER_H300_SERIES)) /* Routines for the iriver_flash -plugin. */ bool (*detect_original_firmware)(void); bool (*detect_flashed_ramimage)(void);