gcc on darwin defines __ppc__, not __powerpc__

This commit is contained in:
gbeauche 2004-01-14 23:16:37 +00:00
parent ea61b2a4fc
commit 09cd7ccfd6

View File

@ -65,7 +65,7 @@ static inline bool is_read_only_memory(uintptr addr)
#if defined(x86_64) || defined(__x86_64__)
#define TARGET_NATIVE TARGET_AMD64
#endif
#if defined(powerpc) || defined(__powerpc__)
#if defined(powerpc) || defined(__powerpc__) || defined(__ppc__)
#define TARGET_NATIVE TARGET_POWERPC
#endif