Chris@16: /* Chris@16: * Distributed under the Boost Software License, Version 1.0.(See accompanying Chris@16: * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.) Chris@16: * Chris@16: * See http://www.boost.org/libs/iostreams for documentation. Chris@16: * Chris@16: * File: boost/iostreams/detail/file_handle.hpp Chris@16: * Date: Sun Jun 22 14:23:12 MDT 2008 Chris@16: * Copyright: 2008 CodeRage, LLC Chris@16: * Author: Jonathan Turkanis Chris@16: * Contact: turkanis at coderage dot com Chris@16: * Chris@16: * Defines the type boost::iostreams::detail::file_handle, representing an Chris@16: * operating system file handle. Chris@16: */ Chris@16: Chris@16: #ifndef BOOST_IOSTREAMS_DETAIL_FILE_HANDLE_HPP_INCLUDED Chris@16: #define BOOST_IOSTREAMS_DETAIL_FILE_HANDLE_HPP_INCLUDED Chris@16: Chris@16: #include Chris@16: Chris@16: namespace boost { namespace iostreams { namespace detail { Chris@16: Chris@16: #ifdef BOOST_IOSTREAMS_WINDOWS Chris@16: typedef void* file_handle; // A.k.a. HANDLE Chris@16: #else Chris@16: typedef int file_handle; Chris@16: #endif Chris@16: Chris@16: } } } // End namespaces detail, iostreams, boost. Chris@16: Chris@16: #endif // #ifndef BOOST_IOSTREAMS_DETAIL_FILE_HANDLE_HPP_INCLUDED