From 714ad04bb8cdc5d9f99fd0d6ce45391cdb56ccb9 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Sat, 16 Feb 2008 15:28:02 -0800 Subject: [PATCH] Some compilers define __386__ instead of __i386__ OpenWatcom, and possibly other compilers from the DOS universe, defines __386__ rather than __i386__. --- compiler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler.h b/compiler.h index b7f26f2e..ced029c9 100644 --- a/compiler.h +++ b/compiler.h @@ -101,7 +101,7 @@ char *strsep(char **, const char *); * platform which can do unaligned memory references. It is safe * to leave it defined to 0 even if that is true. */ -#if defined(__i386__) || defined(__x86_64__) +#if defined(__386__) || defined(__i386__) || defined(__x86_64__) # define X86_MEMORY 1 #else # define X86_MEMORY 0 -- 2.11.4.GIT