ARM: Use own lj_bswap(). Reduce min. req. version of GCC to 4.2.

This commit is contained in:
Mike Pall
2011-04-28 12:33:31 +02:00
parent 5d096dcfde
commit 0b606061db
3 changed files with 30 additions and 4 deletions

View File

@@ -173,7 +173,11 @@
#if __GNUC__ < 4
#error "Need at least GCC 4.0 or newer"
#endif
#elif LJ_TARGET_ARM || LJ_TARGET_PPC
#elif LJ_TARGET_ARM
#if (__GNUC__ < 4) || ((__GNUC__ == 4) && __GNUC_MINOR__ < 2)
#error "Need at least GCC 4.2 or newer"
#endif
#elif LJ_TARGET_PPC
#if (__GNUC__ < 4) || ((__GNUC__ == 4) && __GNUC_MINOR__ < 3)
#error "Need at least GCC 4.3 or newer"
#endif