diff -Naur dev86-0.16.18/ld/x86_aout.h dev86-0.16.18.new/ld/x86_aout.h --- dev86-0.16.18/ld/x86_aout.h 2003-01-28 23:17:14.000000000 +0100 +++ dev86-0.16.18.new/ld/x86_aout.h 2012-05-30 10:09:03.000000000 +0200 @@ -12,6 +12,9 @@ #if defined(i386) || defined(__BCC__) || defined(MSDOS) typedef long Long; #define __OUT_OK 1 +#elif defined(__x86_64__) +typedef int Long; +#define __OUT_OK 1 #else typedef char Long[4]; #endif