diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lj_arch.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lj_arch.h b/src/lj_arch.h index 5fb798d9..bddd757d 100644 --- a/src/lj_arch.h +++ b/src/lj_arch.h | |||
| @@ -466,11 +466,17 @@ | |||
| 466 | #endif | 466 | #endif |
| 467 | #endif | 467 | #endif |
| 468 | #elif !LJ_TARGET_PS3 | 468 | #elif !LJ_TARGET_PS3 |
| 469 | #if __clang__ | ||
| 470 | #if ((__clang_major__ < 3) || ((__clang_major__ == 3) && __clang_minor__ < 5)) | ||
| 471 | #error "Need at least Clang 3.5 or newer" | ||
| 472 | #endif | ||
| 473 | #else | ||
| 469 | #if (__GNUC__ < 4) || ((__GNUC__ == 4) && __GNUC_MINOR__ < 3) | 474 | #if (__GNUC__ < 4) || ((__GNUC__ == 4) && __GNUC_MINOR__ < 3) |
| 470 | #error "Need at least GCC 4.3 or newer" | 475 | #error "Need at least GCC 4.3 or newer" |
| 471 | #endif | 476 | #endif |
| 472 | #endif | 477 | #endif |
| 473 | #endif | 478 | #endif |
| 479 | #endif | ||
| 474 | 480 | ||
| 475 | /* Check target-specific constraints. */ | 481 | /* Check target-specific constraints. */ |
| 476 | #ifndef _BUILDVM_H | 482 | #ifndef _BUILDVM_H |
