Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
23e58e30
Commit
23e58e30
authored
Oct 04, 2013
by
Ian Barber
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #697 from pijyoi/master
bugfixes for mingw compilation
parents
d33a3ad0
55bfe7db
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
test_system.cpp
tests/test_system.cpp
+1
-1
testutil.hpp
tests/testutil.hpp
+6
-2
No files found.
tests/test_system.cpp
View file @
23e58e30
...
...
@@ -20,7 +20,7 @@
#include "testutil.hpp"
#if defined (ZMQ_HAVE_WINDOWS)
# include <
WinS
ock2.h>
# include <
wins
ock2.h>
# include <stdexcept>
#else
# include <sys/socket.h>
...
...
tests/testutil.hpp
View file @
23e58e30
...
...
@@ -31,8 +31,10 @@
#include <string>
#if defined _WIN32
# include <crtdbg.h>
# pragma warning(disable:4996)
# if defined _MSC_VER
# include <crtdbg.h>
# pragma warning(disable:4996)
# endif
#else
# include <unistd.h>
# include <signal.h>
...
...
@@ -249,9 +251,11 @@ void close_zero_linger (void *socket)
void
setup_test_environment
()
{
#if defined _WIN32
# if defined _MSC_VER
_set_abort_behavior
(
0
,
_WRITE_ABORT_MSG
);
_CrtSetReportMode
(
_CRT_ASSERT
,
_CRTDBG_MODE_FILE
);
_CrtSetReportFile
(
_CRT_ASSERT
,
_CRTDBG_FILE_STDERR
);
# endif
#endif
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment