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
b00be265
Commit
b00be265
authored
Mar 08, 2011
by
Brett Cameron
Committed by
Martin Sustrik
Mar 08, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Different fixed to make OpenVMS port work.
Signed-off-by:
Martin Sustrik
<
sustrik@250bpm.com
>
parent
184bdb8e
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
18 deletions
+14
-18
AUTHORS
AUTHORS
+1
-1
ip.cpp
src/ip.cpp
+10
-6
ip.hpp
src/ip.hpp
+0
-2
semaphore.hpp
src/semaphore.hpp
+2
-0
stdint.hpp
src/stdint.hpp
+1
-9
No files found.
AUTHORS
View file @
b00be265
...
...
@@ -8,6 +8,7 @@ Bernd Prager <bernd@prager.ws>
Bernd Melchers <melchers@ZEDAT.FU-Berlin.DE>
Bob Beaty <rbeaty@peak6.com>
Brian Buchanan <bwb@holo.org>
Brett Cameron <Brett.Cameron@hp.com>
Burak Arslan <burak-github@arskom.com.tr>
Chia-liang Kao <clkao@clkao.org>
Chris Rempel <csrl@gmx.com>
...
...
@@ -70,7 +71,6 @@ Alessio Spadaro <alessio.spadaro@finservice.com>
Alexander Majorov <alexander.majorov@intel.com>
Anh Vu <vietanh.vu@m4x.org>
Bernd Schumacher <bernd.schumacher@hp.com>
Brett Cameron <Brett.Cameron@hp.com>
Brian Granger <ellisonbg.net@gmail.com>
Carsten Dinkelmann <din@foobar-cpa.de>
David Bahi <dbahi@novell.com>
...
...
src/ip.cpp
View file @
b00be265
...
...
@@ -229,10 +229,13 @@ int zmq::resolve_ip_interface (sockaddr_storage* addr_, socklen_t *addr_len_,
}
// There's no such interface name. Assume literal address.
#if defined ZMQ_HAVE_OPENVMS && defined __ia64
__addrinfo64
*
res
=
NULL
;
__addrinfo64
req
;
#else
addrinfo
*
res
=
NULL
;
// Set up the query.
addrinfo
req
;
#endif
memset
(
&
req
,
0
,
sizeof
(
req
));
// We only support IPv4 addresses for now.
...
...
@@ -312,11 +315,13 @@ int zmq::resolve_ip_hostname (sockaddr_storage *addr_, socklen_t *addr_len_,
return
0
;
}
#if !defined ZMQ_HAVE_WINDOWS && !defined ZMQ_HAVE_OPENVMS
int
zmq
::
resolve_local_path
(
sockaddr_storage
*
addr_
,
socklen_t
*
addr_len_
,
const
char
*
path_
)
{
#if defined ZMQ_HAVE_WINDOWS || defined ZMQ_HAVE_OPENVMS
errno
=
EPROTONOSUPPORT
;
return
-
1
;
#else
sockaddr_un
*
un
=
(
sockaddr_un
*
)
addr_
;
if
(
strlen
(
path_
)
>=
sizeof
(
un
->
sun_path
))
{
...
...
@@ -327,7 +332,6 @@ int zmq::resolve_local_path (sockaddr_storage *addr_, socklen_t *addr_len_,
un
->
sun_family
=
AF_UNIX
;
*
addr_len_
=
sizeof
(
sockaddr_un
);
return
0
;
}
#endif
}
src/ip.hpp
View file @
b00be265
...
...
@@ -60,11 +60,9 @@ namespace zmq
int
resolve_ip_hostname
(
sockaddr_storage
*
addr_
,
socklen_t
*
addr_len_
,
const
char
*
hostname_
);
#if !defined ZMQ_HAVE_WINDOWS && !defined ZMQ_HAVE_OPENVMS
// This function sets up address for UNIX domain transport.
int
resolve_local_path
(
sockaddr_storage
*
addr_
,
socklen_t
*
addr_len_
,
const
char
*
pathname_
);
#endif
}
#endif
src/semaphore.hpp
View file @
b00be265
...
...
@@ -26,6 +26,8 @@
#if defined ZMQ_HAVE_WINDOWS
#include "windows.hpp"
#elif defined ZMQ_HAVE_OPENVMS
#include <pthread.h>
#else
#include <semaphore.h>
#endif
...
...
src/stdint.hpp
View file @
b00be265
...
...
@@ -23,7 +23,7 @@
#include "platform.hpp"
#if
def ZMQ_HAVE_SOLARI
S
#if
defined ZMQ_HAVE_SOLARIS || defined ZMQ_HAVE_OPENVM
S
#include <inttypes.h>
...
...
@@ -54,14 +54,6 @@ typedef unsigned __int32 uint32_t;
typedef
unsigned
__int64
uint64_t
;
#endif
#elif defined ZMQ_HAVE_OPENVMS
#include <types.h>
typedef
unsigned
__int8
uint8_t
;
typedef
unsigned
__int16
uint16_t
;
typedef
unsigned
__int32
uint32_t
;
typedef
unsigned
__int64
uint64_t
;
#else
#include <stdint.h>
...
...
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