b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | --- a/src/mips/getcontext.S |
2 | +++ b/src/mips/getcontext.S | ||||
3 | @@ -24,12 +24,12 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING | ||||
4 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ | ||||
5 | |||||
6 | #include "offsets.h" | ||||
7 | -#include <endian.h> | ||||
8 | |||||
9 | .text | ||||
10 | + .set nomips16 | ||||
11 | |||||
12 | #if _MIPS_SIM == _ABIO32 | ||||
13 | -# if __BYTE_ORDER == __BIG_ENDIAN | ||||
14 | +# if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__ | ||||
15 | # define OFFSET 4 | ||||
16 | # else | ||||
17 | # define OFFSET 0 |