mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-04-18 18:50:23 +08:00
Some compilers define __386__ instead of __i386__
OpenWatcom, and possibly other compilers from the DOS universe, defines __386__ rather than __i386__.
This commit is contained in:
parent
338a3b6882
commit
714ad04bb8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user