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
83e547f0
Commit
83e547f0
authored
Aug 24, 2013
by
Pieter Hintjens
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #633 from eburkitt/vs2012-clean-compile
get to clean compile under vs2012
parents
2e9385ac
eaf227d4
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
7 deletions
+11
-7
libzmq11.vcxproj
builds/msvc/libzmq/libzmq11.vcxproj
+4
-0
dealer.cpp
src/dealer.cpp
+1
-1
mutex.hpp
src/mutex.hpp
+1
-1
req.cpp
src/req.cpp
+2
-2
router.cpp
src/router.cpp
+3
-3
No files found.
builds/msvc/libzmq/libzmq11.vcxproj
View file @
83e547f0
...
...
@@ -223,8 +223,10 @@
<ClCompile
Include=
"..\..\..\src\kqueue.cpp"
/>
<ClCompile
Include=
"..\..\..\src\lb.cpp"
/>
<ClCompile
Include=
"..\..\..\src\mailbox.cpp"
/>
<ClCompile
Include=
"..\..\..\src\mechanism.cpp"
/>
<ClCompile
Include=
"..\..\..\src\msg.cpp"
/>
<ClCompile
Include=
"..\..\..\src\mtrie.cpp"
/>
<ClCompile
Include=
"..\..\..\src\null_mechanism.cpp"
/>
<ClCompile
Include=
"..\..\..\src\object.cpp"
/>
<ClCompile
Include=
"..\..\..\src\options.cpp"
/>
<ClCompile
Include=
"..\..\..\src\own.cpp"
/>
...
...
@@ -233,6 +235,7 @@
<ClCompile
Include=
"..\..\..\src\pgm_sender.cpp"
/>
<ClCompile
Include=
"..\..\..\src\pgm_socket.cpp"
/>
<ClCompile
Include=
"..\..\..\src\pipe.cpp"
/>
<ClCompile
Include=
"..\..\..\src\plain_mechanism.cpp"
/>
<ClCompile
Include=
"..\..\..\src\poll.cpp"
/>
<ClCompile
Include=
"..\..\..\src\poller_base.cpp"
/>
<ClCompile
Include=
"..\..\..\src\precompiled.cpp"
>
...
...
@@ -253,6 +256,7 @@
<ClCompile
Include=
"..\..\..\src\session_base.cpp"
/>
<ClCompile
Include=
"..\..\..\src\signaler.cpp"
/>
<ClCompile
Include=
"..\..\..\src\socket_base.cpp"
/>
<ClCompile
Include=
"..\..\..\src\stream.cpp"
/>
<ClCompile
Include=
"..\..\..\src\stream_engine.cpp"
/>
<ClCompile
Include=
"..\..\..\src\sub.cpp"
/>
<ClCompile
Include=
"..\..\..\src\tcp.cpp"
/>
...
...
src/dealer.cpp
View file @
83e547f0
...
...
@@ -65,7 +65,7 @@ int zmq::dealer_t::xsetsockopt (int option_, const void *optval_,
switch
(
option_
)
{
case
ZMQ_PROBE_ROUTER
:
if
(
is_int
&&
value
>=
0
)
{
probe_router
=
value
;
probe_router
=
(
value
!=
0
)
;
return
0
;
}
break
;
...
...
src/mutex.hpp
View file @
83e547f0
...
...
@@ -52,7 +52,7 @@ namespace zmq
inline
bool
try_lock
()
{
return
(
bool
)
TryEnterCriticalSection
(
&
cs
)
;
return
(
TryEnterCriticalSection
(
&
cs
))
?
true
:
false
;
}
inline
void
unlock
()
...
...
src/req.cpp
View file @
83e547f0
...
...
@@ -200,14 +200,14 @@ int zmq::req_t::xsetsockopt (int option_, const void *optval_, size_t optvallen_
switch
(
option_
)
{
case
ZMQ_REQ_REQUEST_IDS
:
if
(
is_int
&&
value
>=
0
)
{
request_id_frames_enabled
=
value
;
request_id_frames_enabled
=
(
value
!=
0
)
;
return
0
;
}
break
;
case
ZMQ_REQ_STRICT
:
if
(
is_int
&&
value
>=
0
)
{
strict
=
value
;
strict
=
(
value
!=
0
)
;
return
0
;
}
break
;
...
...
src/router.cpp
View file @
83e547f0
...
...
@@ -89,7 +89,7 @@ int zmq::router_t::xsetsockopt (int option_, const void *optval_,
switch
(
option_
)
{
case
ZMQ_ROUTER_RAW
:
if
(
is_int
&&
value
>=
0
)
{
raw_sock
=
value
;
raw_sock
=
(
value
!=
0
)
;
if
(
raw_sock
)
{
options
.
recv_identity
=
false
;
options
.
raw_sock
=
true
;
...
...
@@ -100,14 +100,14 @@ int zmq::router_t::xsetsockopt (int option_, const void *optval_,
case
ZMQ_ROUTER_MANDATORY
:
if
(
is_int
&&
value
>=
0
)
{
mandatory
=
value
;
mandatory
=
(
value
!=
0
)
;
return
0
;
}
break
;
case
ZMQ_PROBE_ROUTER
:
if
(
is_int
&&
value
>=
0
)
{
probe_router
=
value
;
probe_router
=
(
value
!=
0
)
;
return
0
;
}
break
;
...
...
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