Convert many #ifdef SIMULATOR to #if (CONFIG_PLATFORM & PLATFORM_HOSTED) (and similar).
commit5be46e140b94b4d5ed63d58c4dbca2d3b4497c2d
authorThomas Martitz <thomas.martitz@student.htw-berlin.de>
Tue, 1 Jun 2010 17:09:36 +0000 (1 19:09 +0200)
committerThomas Martitz <thomas.martitz@student.htw-berlin.de>
Tue, 8 Jun 2010 15:50:12 +0000 (8 17:50 +0200)
treefa0e5e570837f6ba640f5e4760a245a96126308c
parent90ea16ec2637bd328eb736f1a44954b3e5d7ec80
Convert many #ifdef SIMULATOR to #if (CONFIG_PLATFORM & PLATFORM_HOSTED) (and similar).

Not all are converted, only those which are relevant for Rockbox as an application. This should
enable to reuse some tricks needed for the simulator in RaaA too without
imposing the need for RaaA to define SIMULATOR.
78 files changed:
apps/audio_path.c
apps/bitmaps/mono/SOURCES
apps/bitmaps/remote_mono/SOURCES
apps/buffering.c
apps/codecs.c
apps/codecs/lib/SOURCES
apps/codecs/lib/tlsf/src/tlsf.c
apps/codecs/libm4a/demux.c
apps/codecs/libspc/spc_codec.h
apps/codecs/libtremor/ctype.c
apps/debug_menu.c
apps/filetree.c
apps/main.c
apps/menus/main_menu.c
apps/misc.c
apps/pcmbuf.c
apps/playback.c
apps/playlist.c
apps/plugin.c
apps/plugin.h
apps/plugins/BUILD_OVERLAY
apps/plugins/SOURCES
apps/plugins/beatbox/beatbox.c
apps/plugins/bitmaps/mono/SOURCES
apps/plugins/bitmaps/remote_mono/SOURCES
apps/plugins/bitmaps/remote_native/SOURCES
apps/plugins/chip8.c
apps/plugins/doom/rockdoom.c
apps/plugins/doom/rockmacros.h
apps/plugins/goban.c
apps/plugins/imageviewer/imageviewer.h
apps/plugins/lib/SOURCES
apps/plugins/lib/pluginlib_exit.h
apps/plugins/lua/rockaux.c
apps/plugins/lua/rockconf.h
apps/plugins/lua/rocklibc.h
apps/plugins/midi/midiutil.h
apps/plugins/pacbox/pacbox_lcd.c
apps/plugins/rockboy/rockboy.c
apps/plugins/test_codec.c
apps/plugins/test_disk.c
apps/plugins/test_fps.c
apps/plugins/test_mem.c
apps/radio/radio.c
apps/recorder/peakmeter.c
apps/scrobbler.c
apps/settings.c
apps/status.h
apps/tagcache.c
firmware/SOURCES
firmware/buffer.c
firmware/common/dircache.c
firmware/drivers/button.c
firmware/export/ata_idle_notify.h
firmware/export/audio.h
firmware/export/buffer.h
firmware/export/config.h
firmware/export/config/sim.h
firmware/export/font.h
firmware/export/hwcompat.h
firmware/export/kernel.h
firmware/export/power.h
firmware/export/powermgmt.h
firmware/export/storage.h
firmware/export/system.h
firmware/export/thread.h
firmware/export/timer.h
firmware/export/tuner.h
firmware/include/dbgcheck.h
firmware/include/dir_uncached.h
firmware/include/dircache.h
firmware/include/file.h
firmware/logf.c
firmware/panic.c
firmware/powermgmt.c
firmware/scroll_engine.c
firmware/sound.c
firmware/system.c