third_party: Fix missing sgidefs.h for Musl

This commit is contained in:
klzgrad 2021-10-06 15:30:54 +08:00
parent eb60eacc15
commit a1bb0a903a

View File

@ -120,7 +120,7 @@ extern "C" {
#ifdef __mips__ #ifdef __mips__
/* Include definitions of the ABI currently in use. */ /* Include definitions of the ABI currently in use. */
#ifdef __ANDROID__ #if defined(__ANDROID__) || defined(__MUSL__)
/* Android doesn't have sgidefs.h, but does have asm/sgidefs.h, /* Android doesn't have sgidefs.h, but does have asm/sgidefs.h,
* which has the definitions we need. * which has the definitions we need.
*/ */