diff options
Diffstat (limited to 'apps/plugins/imageviewer/imageviewer.h')
-rw-r--r-- | apps/plugins/imageviewer/imageviewer.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugins/imageviewer/imageviewer.h b/apps/plugins/imageviewer/imageviewer.h index 4ced196e59..e1009ec32f 100644 --- a/apps/plugins/imageviewer/imageviewer.h +++ b/apps/plugins/imageviewer/imageviewer.h | |||
@@ -361,6 +361,9 @@ | |||
361 | #if !defined(SIMULATOR) && defined(HAVE_DISK_STORAGE) | 361 | #if !defined(SIMULATOR) && defined(HAVE_DISK_STORAGE) |
362 | #define DISK_SPINDOWN | 362 | #define DISK_SPINDOWN |
363 | #endif | 363 | #endif |
364 | #if PLUGIN_BUFFER_SIZE >= MIN_MEM | ||
365 | #define USE_PLUG_BUF | ||
366 | #endif | ||
364 | 367 | ||
365 | /* Settings. jpeg needs these */ | 368 | /* Settings. jpeg needs these */ |
366 | struct imgview_settings | 369 | struct imgview_settings |
@@ -390,7 +393,7 @@ extern bool running_slideshow; | |||
390 | #ifdef DISK_SPINDOWN | 393 | #ifdef DISK_SPINDOWN |
391 | extern bool immediate_ata_off; | 394 | extern bool immediate_ata_off; |
392 | #endif | 395 | #endif |
393 | #if PLUGIN_BUFFER_SIZE >= MIN_MEM | 396 | #ifdef USE_PLUG_BUF |
394 | extern bool plug_buf; | 397 | extern bool plug_buf; |
395 | #endif | 398 | #endif |
396 | 399 | ||