diff options
author | H. Peter Anvin <hpa@zytor.com> | 2008-02-16 15:28:02 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-02-16 15:28:02 -0800 |
commit | 714ad04bb8cdc5d9f99fd0d6ce45391cdb56ccb9 (patch) | |
tree | dea7b909b23d3d3d7c53c8c71387bcfa86039a0b /compiler.h | |
parent | 338a3b6882e79aa7f4dc7dd1d508898a7c631ecb (diff) | |
download | nasm-714ad04bb8cdc5d9f99fd0d6ce45391cdb56ccb9.tar.gz nasm-714ad04bb8cdc5d9f99fd0d6ce45391cdb56ccb9.tar.bz2 nasm-714ad04bb8cdc5d9f99fd0d6ce45391cdb56ccb9.zip |
Some compilers define __386__ instead of __i386__
OpenWatcom, and possibly other compilers from the DOS universe,
defines __386__ rather than __i386__.
Diffstat (limited to 'compiler.h')
-rw-r--r-- | compiler.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |