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
51b59b40
Commit
51b59b40
authored
Feb 17, 2012
by
Mikko Koppanen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix build on windows
parent
dd35385d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
address.cpp
src/address.cpp
+2
-0
address.hpp
src/address.hpp
+4
-2
No files found.
src/address.cpp
View file @
51b59b40
...
...
@@ -41,10 +41,12 @@ zmq::address_t::~address_t ()
resolved
.
tcp_addr
=
0
;
}
}
#if !defined ZMQ_HAVE_WINDOWS && !defined ZMQ_HAVE_OPENVMS
else
if
(
protocol
==
"ipc"
)
{
if
(
resolved
.
ipc_addr
)
{
delete
resolved
.
ipc_addr
;
resolved
.
ipc_addr
=
0
;
}
}
#endif
}
src/address.hpp
View file @
51b59b40
...
...
@@ -26,8 +26,9 @@
namespace
zmq
{
class
tcp_address_t
;
#if !defined ZMQ_HAVE_WINDOWS && !defined ZMQ_HAVE_OPENVMS
class
ipc_address_t
;
#endif
struct
address_t
{
address_t
(
const
std
::
string
&
protocol_
,
const
std
::
string
&
address_
);
...
...
@@ -39,10 +40,11 @@ namespace zmq
// Protocol specific resolved address
union
{
tcp_address_t
*
tcp_addr
;
#if !defined ZMQ_HAVE_WINDOWS && !defined ZMQ_HAVE_OPENVMS
ipc_address_t
*
ipc_addr
;
#endif
}
resolved
;
};
}
#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