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

0.9 devel#270

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 3 commits intocpp-netlib:0.9-develfromtjadevries:0.9-devel
Jul 6, 2013
Merged
Changes from1 commit
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
PrevPrevious commit
NextNext commit
prevent multiple main()s in case of dynamic linking of boost testing
  • Loading branch information
@tjadevries
tjadevries committedJul 5, 2013
commit29d9beabd9d0ff489927dd6f750ac68879a36730
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
#defineBOOST_TEST_MODULE HTTP Asynchronous Server Tests
#ifdef BOOST_TEST_DYN_LINK
#defineBOOST_TEST_NO_MAIN
#endif/* BOOST_TEST_DYN_LINK*/

#include<boost/network/include/http/server.hpp>
#include<boost/test/unit_test.hpp>
Expand DownExpand Up@@ -135,3 +138,6 @@ int main(int argc, char * argv[]) {

return0;
}
#ifdef BOOST_TEST_DYN_LINK
#undef BOOST_TEST_NO_MAIN
#endif/* BOOST_TEST_DYN_LINK*/

[8]ページ先頭

©2009-2025 Movatter.jp