added "&& defined(__MVS__)" to "IBM z/OS XL C/C++" library detection

This commit is contained in:
Paul Groke
2017-02-26 19:38:40 +01:00
parent c8cc56d678
commit 85751bb81d

View File

@@ -66,7 +66,7 @@
// MSL standard lib: // MSL standard lib:
# define BOOST_STDLIB_CONFIG "boost/config/stdlib/msl.hpp" # define BOOST_STDLIB_CONFIG "boost/config/stdlib/msl.hpp"
#elif defined(__IBMCPP__) && defined(__COMPILER_VER__) #elif defined(__IBMCPP__) && defined(__COMPILER_VER__) && defined(__MVS__)
// IBM z/OS XL C/C++ // IBM z/OS XL C/C++
# define BOOST_STDLIB_CONFIG "boost/config/stdlib/xlcpp_zos.hpp" # define BOOST_STDLIB_CONFIG "boost/config/stdlib/xlcpp_zos.hpp"