blob: 9fd9c4579e9e20a460d93e38baba7e301e6444bf [file] [log] [blame]
Jeff Thompson86b6d642013-10-17 15:01:56 -07001// (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 NDNBOOST_IOSTREAMS_DETAIL_CONFIG_WINDOWS_POSIX_HPP_INCLUDED
10#define NDNBOOST_IOSTREAMS_DETAIL_CONFIG_WINDOWS_POSIX_HPP_INCLUDED
11
12//------------------From ndnboost/libs/filesystem/src/path_posix_windows.cpp-----//
13
14// NDNBOOST_IOSTREAMS_POSIX or NDNBOOST_IOSTREAMS_WINDOWS specify which API to use.
15#if !defined( NDNBOOST_IOSTREAMS_WINDOWS ) && !defined( NDNBOOST_IOSTREAMS_POSIX )
16# if (defined(_WIN32) || defined(__WIN32__) || defined(WIN32)) && \
17 !defined(__CYGWIN__) \
18 /**/
19# define NDNBOOST_IOSTREAMS_WINDOWS
20# else
21# define NDNBOOST_IOSTREAMS_POSIX
22# endif
23#endif
24
25#endif // #ifndef NDNBOOST_IOSTREAMS_DETAIL_CONFIG_WINDOWS_POSIX_HPP_INCLUDED