blob: 4f35d1db4ec9f7a2cc62fba27d28bdac1a9c1b77 [file] [log] [blame]
Jeff Thompson86b6d642013-10-17 15:01:56 -07001/*
2 * Distributed under the Boost Software License, Version 1.0.(See accompanying
3 * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.)
4 *
5 * See http://www.boost.org/libs/iostreams for documentation.
6 *
7 * File: ndnboost/iostreams/detail/file_handle.hpp
8 * Date: Sun Jun 22 14:23:12 MDT 2008
9 * Copyright: 2008 CodeRage, LLC
10 * Author: Jonathan Turkanis
11 * Contact: turkanis at coderage dot com
12 *
13 * Defines the type ndnboost::iostreams::detail::file_handle, representing an
14 * operating system file handle.
15 */
16
17#ifndef NDNBOOST_IOSTREAMS_DETAIL_FILE_HANDLE_HPP_INCLUDED
18#define NDNBOOST_IOSTREAMS_DETAIL_FILE_HANDLE_HPP_INCLUDED
19
20#include <ndnboost/iostreams/detail/config/windows_posix.hpp>
21
22namespace ndnboost { namespace iostreams { namespace detail {
23
24#ifdef NDNBOOST_IOSTREAMS_WINDOWS
25 typedef void* file_handle; // A.k.a. HANDLE
26#else
27 typedef int file_handle;
28#endif
29
30} } } // End namespaces detail, iostreams, boost.
31
32#endif // #ifndef NDNBOOST_IOSTREAMS_DETAIL_FILE_HANDLE_HPP_INCLUDED