avoid "inline" in public headers for strict c89 compatibility
[musl] / arch / mips / pthread_arch.h
index 60296fd..f75379c 100644 (file)
@@ -5,4 +5,4 @@ static inline struct pthread *__pthread_self()
        return self;
 }
 
-#define CANCEL_REG_IP 3
+#define CANCEL_REG_IP (3-(union {int __i; char __b;}){1}.__b)