Fix build error when using C++11 under Cygwin

http://www.boost.org/development/tests/develop/developer/output/timber-cygwin-boost-bin-v2-libs-filesystem-test-operations_test-test-gcc-5-4-0-debug.html

(Assuming the #ifdef is a copy & paste error)
This commit is contained in:
Thomas Trummer 2016-07-05 11:33:12 +02:00
parent 3c2c9812f0
commit e4d01fc006

View File

@ -56,7 +56,7 @@ inline std::wstring convert(const char* c)
return std::wstring(s.begin(), s.end());
}
#if defined(_MSC_VER) || defined(__GXX_EXPERIMENTAL_CXX0X__)
#if defined(_MSC_VER)
// Note: these three setenv* functions are not general solutions for the missing
// setenv* problem on VC++. See Microsoft's _putenv for that need, and ticker #7018
// for discussion and rationale for returning void for this test program, which needs