summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2024-09-21 19:06:52 -0400
committerSolomon Peachy <pizza@shaftnet.org>2024-09-21 19:08:31 -0400
commita7fba55fcfd3630b22a01088a5837688f94d15b8 (patch)
tree8ac41830d258abbd986dc33f357bf6aff8092937
parent6ed8b9091c4abfec82f8c50be85ade79fae4ffb0 (diff)
downloadrockbox-a7fba55fcf.tar.gz
rockbox-a7fba55fcf.zip
warble: Fix build
Change-Id: I52028c2244a9951fc4a04f82cf1c85557539a50b
-rw-r--r--firmware/export/config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h
index ede1825f88..d4e77cf893 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -635,6 +635,12 @@ Lyre prototype 1 */
#endif
#endif
+#if defined(__PCTOOL__) || defined(SIMULATOR)
+#ifndef CONFIG_PLATFORM
+#define CONFIG_PLATFORM PLATFORM_HOSTED
+#endif
+#endif
+
#ifndef CONFIG_PLATFORM
#define CONFIG_PLATFORM PLATFORM_NATIVE
#endif