blob: d88594e6e7fcb28f230538ddec90bd08bd9af110 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001--- 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