* Makefile.in: Don't use cb or indent
* p1.c, state.h, writecode.c: lint
{
saved_state.bregp[tmp] = (unsigned char *) (saved_state.reg + tmp);
saved_state.bregp[tmp + 8] = saved_state.bregp[tmp] + 1;
- if (HOST_IS_LITTLE_ENDIAN)
- abort();
}
else
{
saved_state.bregp[tmp + 8] = (unsigned char *) (saved_state.reg + tmp);
saved_state.bregp[tmp] = saved_state.bregp[tmp + 8] + 1;
- if (!HOST_IS_LITTLE_ENDIAN)
- abort();
}
}
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
-
+#include "../endian.h"
#define SET_WORD_MEM(x,y) {saved_state.mem[(x)>>1] = y;}
#define SET_BYTE_MEM(x,y) {BYTE_MEM(x)=y;}
#define OCRS (1<<4)
-#ifdef __GO32__
+#ifdef LITTLE_ENDIAN_HOST
#define HOST_IS_LITTLE_ENDIAN 1
#else
#define HOST_IS_LITTLE_ENDIAN 0