1
0
Fork 0
forked from len0rd/rockbox

Fix (most of) the red in a8c52b1bfb

HAVE_STORAGE_INFO needs to be defined for all non-sim/hostfs targets

Change-Id: Id0d6f88306776cfc286fc0d852b77b70ba389efc
This commit is contained in:
Solomon Peachy 2024-11-02 14:44:57 -04:00
parent a8c52b1bfb
commit 04dc052a96

View file

@ -1259,11 +1259,9 @@ Lyre prototype 1 */
# define INCLUDE_TIMEOUT_API # define INCLUDE_TIMEOUT_API
#endif #endif
#ifndef SIMULATOR #if (!defined(SIMULATOR) && !defined(HAVE_HOSTFS))
#if defined(HAVE_USBSTACK) || (CONFIG_STORAGE & STORAGE_NAND) || (CONFIG_STORAGE & STORAGE_RAMDISK)
#define STORAGE_GET_INFO #define STORAGE_GET_INFO
#endif #endif
#endif
#if defined(HAVE_SIGALTSTACK_THREADS) #if defined(HAVE_SIGALTSTACK_THREADS)
#ifndef _XOPEN_SOURCE #ifndef _XOPEN_SOURCE