summaryrefslogtreecommitdiff
path: root/libs/concept_check/stl_concept_covering.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/concept_check/stl_concept_covering.cpp')
-rw-r--r--libs/concept_check/stl_concept_covering.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/libs/concept_check/stl_concept_covering.cpp b/libs/concept_check/stl_concept_covering.cpp
index 338d23f33..6d3144dd3 100644
--- a/libs/concept_check/stl_concept_covering.cpp
+++ b/libs/concept_check/stl_concept_covering.cpp
@@ -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