diff options
Diffstat (limited to 'firmware/export/audiohw.h')
-rw-r--r-- | firmware/export/audiohw.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/export/audiohw.h b/firmware/export/audiohw.h index d4861aac5a..658dd1301c 100644 --- a/firmware/export/audiohw.h +++ b/firmware/export/audiohw.h | |||
@@ -66,7 +66,7 @@ | |||
66 | #elif defined(HAVE_AK4537) | 66 | #elif defined(HAVE_AK4537) |
67 | #include "ak4537.h" | 67 | #include "ak4537.h" |
68 | #endif | 68 | #endif |
69 | #if defined(HAVE_SDL_AUDIO) | 69 | #if (CONFIG_PLATFORM & PLATFORM_HOSTED) |
70 | /* #include <SDL_audio.h> gives errors in other code areas, | 70 | /* #include <SDL_audio.h> gives errors in other code areas, |
71 | * we don't really need it here, so don't. but it should maybe be fixed */ | 71 | * we don't really need it here, so don't. but it should maybe be fixed */ |
72 | #ifndef SIMULATOR /* simulator gets values from the target .h files */ | 72 | #ifndef SIMULATOR /* simulator gets values from the target .h files */ |