forked from boostorg/concept_check
Fix broken concept build.
The stl_concept_covering.cpp file only works with __GNUC__ or __KCC.
This commit is contained in:
@ -3,6 +3,9 @@
|
||||
// accompanying file LICENSE_1_0.txt or copy at
|
||||
// http://www.boost.org/LICENSE_1_0.txt)
|
||||
|
||||
// This file doesn't work on other compilers.
|
||||
#if defined(__GNUC__) || defined(__KCC)
|
||||
|
||||
#include <algorithm>
|
||||
#include <numeric>
|
||||
#include <boost/config.hpp>
|
||||
@ -905,3 +908,9 @@ main()
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
int main() {}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user