9088f5930a
Proven recipe pattern for gnulib cross-compilation on Redox: 1. fix_types.h with guarded typedefs for ALL sys/types.h types 2. Strip raw typedefs from GL_CFLAG_GNULIB_WARNINGS after configure 3. Set cache vars for functions gnulib can't detect Remaining: __fseterr/__freadahead stubs for linker (need relibc-level or recipe-level .o injection)
4 lines
161 B
C
4 lines
161 B
C
// Stub: Redox doesn't support __fseterr/__freadahead
|
|
static inline int __fseterr(FILE *fp) { return 0; }
|
|
static inline int __freadahead(FILE *fp) { return 0; }
|