build: Fix clang detection to require major >= 3.

ck_pring
Samy Al Bahra 8 years ago
parent 24133c8d31
commit f449e90b3f

2
configure vendored

@ -555,7 +555,7 @@ int main(void) {
#else #else
return (1); return (1);
#endif /* __MINGW32__ && __MINGW32_MAJOR_VERSION >= 3 */ #endif /* __MINGW32__ && __MINGW32_MAJOR_VERSION >= 3 */
#elif defined(__clang__) && (__clang_major__ >= 4) #elif defined(__clang__) && (__clang_major__ >= 3)
puts("clang"); puts("clang");
return (0); return (0);
#elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x5110) #elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x5110)

Loading…
Cancel
Save