Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Added config.hpp to project (similar to uri/config.hpp) for compiler portability#276

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
deanberris merged 2 commits intocpp-netlib:masterfromglynos:master
Jul 29, 2013
Merged
Show file tree
Hide file tree
Changes fromall 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 deletionsCMakeLists.txt
View file
Open in desktop
Original file line numberDiff line numberDiff 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 deletionsconfig/src/network/config.hpp
View file
Open in desktop
Original file line numberDiff line numberDiff 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

[8]ページ先頭

©2009-2025 Movatter.jp