--- uae/src/genp2c.c 2018/04/24 16:41:59 1.1.1.2 +++ uae/src/genp2c.c 2018/04/24 16:49:58 1.1.1.4 @@ -12,7 +12,9 @@ #include "sysconfig.h" #include "sysdeps.h" -#include "custom.h" +/* We can't include custom.h here. */ +#define MAX_WORDS_PER_LINE 50 + static char *gen_ind (char *a, int b) { @@ -80,7 +82,7 @@ static void orl (char *src, char *dst) { static void imull (unsigned long val, char *dst) { printf ("\timull $0x%08lx,%s\n", val, dst); } static void decl (char *dst) { printf ("\tdecl %s\n", dst); } static void incl (char *dst) { printf ("\tincl %s\n", dst); } -static void bswapl (char *dst) { printf ("\tbswapl %s\n", dst); } +static void bswapl (char *dst) { printf ("\tbswap %s\n", dst); } static void shrl (int count, char *dst) { printf ("\tshrl $%d,%s\n", count, dst); } static void shll (int count, char *dst) { printf ("\tshll $%d,%s\n", count, dst); } static void pushl (char *src) { printf ("\tpushl %s\n", src); }