Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ endif()

if(CPP-NETLIB_BUILD_SINGLE_LIB)
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/config/src
${CMAKE_CURRENT_SOURCE_DIR}/concurrency/src
${CMAKE_CURRENT_SOURCE_DIR}/http/src
${CMAKE_CURRENT_SOURCE_DIR}/logging/src
Expand Down
45 changes: 45 additions & 0 deletions config/src/network/config.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
// Copyright (c) Glyn Matthews 2012, 2013.
// Copyright 2012 Dean Michael Berris <dberris@google.com>
// Copyright 2012 Google, Inc.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)


#ifndef NETWORK_CONFIG_INC
#define NETWORK_CONFIG_INC

#include <boost/config.hpp>
#include <boost/detail/workaround.hpp>

#if defined(BOOST_ALL_DYN_LINK)
#define NETWORK_DECL BOOST_SYMBOL_EXPORT
#else
#define NETWORK_DECL
#endif // defined(BOOST_ALL_DYN_LINK)

#if defined(BOOST_NO_CXX11_DEFAULTED_FUNCTIONS)
#define NETWORK_DEFAULTED_FUNCTION {}
#else
#define NETWORK_DEFAULTED_FUNCTION = default
#endif // defined(BOOST_NO_CXX11_DEFAULTED_FUNCTIONS)

#if defined(BOOST_NO_CXX11_DELETED_FUNCTIONS)
#define NETWORK_DELETED_FUNCTION {}
#else
#define NETWORK_DELETED_FUNCTION = delete
#endif // defined(BOOST_NO_CXX11_DELETED_FUNCTIONS)

#if defined(BOOST_NO_CXX11_NOEXCEPT)
#define NETWORK_NOEXCEPT throw()
#else
#define NETWORK_NOEXCEPT noexcept
#endif // defined(BOOST_NO_CXX11_NOEXCEPT)

#if defined(BOOST_NO_CXX11_OVERRIDE)
#define NETWORK_OVERRIDE
#else
#define NETWORK_OVERRIDE override
#endif // defined(BOOST_NO_CXX11_OVERRIDE)

#endif // NETWORK_CONFIG_INC