]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/nowide/test/test_fstream_cxx11.cpp
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / libs / nowide / test / test_fstream_cxx11.cpp
index 3ad16b7113bdeeab49e3c4585e42c6b86e67e069..ebfbd1c0202e6585ef033e524e8e7ec2d1bdeee4 100644 (file)
@@ -2,14 +2,12 @@
 //  Copyright (c) 2019 Alexander Grund
 //
 //  Distributed under the Boost Software License, Version 1.0. (See
-//  accompanying file LICENSE_1_0.txt or copy at
+//  accompanying file LICENSE or copy at
 //  http://www.boost.org/LICENSE_1_0.txt)
 //
 
 #include <boost/nowide/config.hpp>
 
-#if BOOST_NOWIDE_CXX11
-
 #include <boost/nowide/fstream.hpp>
 
 #include <boost/nowide/cstdio.hpp>
@@ -188,14 +186,3 @@ void test_main(int, char** argv, char**)
     test_ofstream(exampleFilename);
     test_fstream(exampleFilename);
 }
-
-#else
-
-#include <iostream>
-
-int main()
-{
-    std::cout << "Test skipped as there is no C++11 support by the compiler" << std::endl;
-}
-
-#endif