diff --git a/bootstrap b/bootstrap index 430f53ba51..42a98ae403 100755 --- a/bootstrap +++ b/bootstrap @@ -935,6 +935,10 @@ echo ' # error "The CMAKE_C_COMPILER is set to a C++ compiler" #endif +#if defined(__sun) && __STDC_VERSION__ < 199901L +#error "On Solaris we need C99." +#endif + #include int main(int argc, char* argv[])