Rockbox as an application: Replace many occurences of #ifdef SIMULATOR with #if ...
commitc5d220ff26876ef40b1aa489b81bf48a02e624c7
authorkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Mon, 21 Jun 2010 16:53:00 +0000 (21 16:53 +0000)
committerkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Mon, 21 Jun 2010 16:53:00 +0000 (21 16:53 +0000)
tree084be19a29bffa879eee8e3cad92d8f3b342a337
parenta0e4e415dd1746a45fb5d8960b218b9e6f737228
Rockbox as an application: Replace many occurences of #ifdef SIMULATOR with #if (CONFIG_PLATFORM & PLATFORM_HOSTED) (or equivalently).

The simulator defines PLATFORM_HOSTED, as RaaA will do (RaaA will not define SIMULATOR).
The new define is to (de-)select code to compile on hosted platforms generally.

Should be no functional change to targets or the simulator.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27019 a1c6a512-1295-4272-9138-f99709370657
81 files changed:
apps/audio_path.c
apps/bitmaps/mono/SOURCES
apps/bitmaps/remote_mono/SOURCES
apps/buffering.c
apps/codecs.c
apps/codecs.h
apps/codecs/codec_crt0.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/backlight.c
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