From 109f182b0c16e2ebb50fbae746550730151d8913 Mon Sep 17 00:00:00 2001 From: Nils Wallménius Date: Sat, 7 Nov 2009 10:48:05 +0000 Subject: Introduce new config header 'config-sim.h' that takes care of undefining things that shouldn't be defined for sims so that the target configs no longer need to have #ifndef SIMULATOR sections and to bring some consistency for what is and is not included for sims. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23547 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'firmware/export/config.h') diff --git a/firmware/export/config.h b/firmware/export/config.h index adc03d54f8..bb1c5eab19 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h @@ -403,6 +403,11 @@ Lyre prototype 1 */ /* no known platform */ #endif +/* keep this include after the target configs */ +#ifdef SIMULATOR +#include "config-sim.h" +#endif + /* setup basic macros from capability masks */ #include "config_caps.h" -- cgit v1.2.3