source: NonGTP/Boost/boost/iostreams/detail/config/windows_posix.hpp @ 857

Revision 857, 982 bytes checked in by igarcia, 19 years ago (diff)
Line 
1// (C) Copyright 2002, 2003 Beman Dawes   Boost.Filesystem
2// (C) Copyright Jonathan Turkanis 2004.
3
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
Note: See TracBrowser for help on using the repository browser.