summaryrefslogtreecommitdiff
path: root/src/lj_arch.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_arch.h')
-rw-r--r--src/lj_arch.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lj_arch.h b/src/lj_arch.h
index 3ddc3e46..f179cf80 100644
--- a/src/lj_arch.h
+++ b/src/lj_arch.h
@@ -173,7 +173,11 @@
173#if __GNUC__ < 4 173#if __GNUC__ < 4
174#error "Need at least GCC 4.0 or newer" 174#error "Need at least GCC 4.0 or newer"
175#endif 175#endif
176#elif LJ_TARGET_ARM || LJ_TARGET_PPC 176#elif LJ_TARGET_ARM
177#if (__GNUC__ < 4) || ((__GNUC__ == 4) && __GNUC_MINOR__ < 2)
178#error "Need at least GCC 4.2 or newer"
179#endif
180#elif LJ_TARGET_PPC
177#if (__GNUC__ < 4) || ((__GNUC__ == 4) && __GNUC_MINOR__ < 3) 181#if (__GNUC__ < 4) || ((__GNUC__ == 4) && __GNUC_MINOR__ < 3)
178#error "Need at least GCC 4.3 or newer" 182#error "Need at least GCC 4.3 or newer"
179#endif 183#endif