1 // (C) Copyright 2008 CodeRage, LLC (turkanis at coderage dot com)
2 // (C) Copyright 2004-2007 Jonathan Turkanis
3 // (C) Copyright 2002, 2003 Beman Dawes   Boost.Filesystem
4 // Distributed under the Boost Software License, Version 1.0. (See accompanying
5 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.)
6 
7 // See http://www.boost.org/libs/iostreams for documentation.
8 
9 #ifndef BOOST_IOSTREAMS_DETAIL_CONFIG_WINDOWS_POSIX_HPP_INCLUDED
10 #define BOOST_IOSTREAMS_DETAIL_CONFIG_WINDOWS_POSIX_HPP_INCLUDED
11 
12 //------------------From boost/libs/filesystem/src/path_posix_windows.cpp-----//
13 
14 // BOOST_IOSTREAMS_POSIX or BOOST_IOSTREAMS_WINDOWS specify which API to use.
15 #if !defined( BOOST_IOSTREAMS_WINDOWS ) && !defined( BOOST_IOSTREAMS_POSIX )
16 # if (defined(_WIN32) || defined(__WIN32__) || defined(WIN32)) && \
17      !defined(__CYGWIN__) \
18      /**/
19 #  define BOOST_IOSTREAMS_WINDOWS
20 # else
21 #  define BOOST_IOSTREAMS_POSIX
22 # endif
23 #endif
24 
25 #endif // #ifndef BOOST_IOSTREAMS_DETAIL_CONFIG_WINDOWS_POSIX_HPP_INCLUDED
26