Skip to content

Commit

Permalink
build: Fix clang detection to require major >= 3.
Browse files Browse the repository at this point in the history
  • Loading branch information
Samy Al Bahra committed Jul 15, 2016
1 parent 24133c8 commit f449e90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ int main(void) {
#else
return (1);
#endif /* __MINGW32__ && __MINGW32_MAJOR_VERSION >= 3 */
#elif defined(__clang__) && (__clang_major__ >= 4)
#elif defined(__clang__) && (__clang_major__ >= 3)
puts("clang");
return (0);
#elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x5110)
Expand Down

0 comments on commit f449e90

Please sign in to comment.