libc: minimal: Add SPARC support

This commit defines the off_t type for SPARC.

Signed-off-by: Martin Åberg <martin.aberg@gaisler.com>
This commit is contained in:
Martin Åberg 2020-10-19 18:21:48 +02:00 committed by Andrew Boie
commit 6f4bcf7933

View file

@ -37,6 +37,8 @@ typedef int off_t;
typedef int off_t;
#elif defined(__XTENSA__)
typedef int off_t;
#elif defined(__sparc__)
typedef int off_t;
#else
#error "The minimal libc library does not recognize the architecture!\n"
#endif