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
db8c26fc
Commit
db8c26fc
authored
Feb 07, 2019
by
Simon Giesecke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Problem: testutil_unity uses undefined names on Windows
Solution: make compilation conditional
parent
8de7e529
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
testutil_unity.hpp
tests/testutil_unity.hpp
+2
-0
No files found.
tests/testutil_unity.hpp
View file @
db8c26fc
...
@@ -347,6 +347,7 @@ void bind_loopback_tipc (void *socket_, char *my_endpoint_, size_t len_)
...
@@ -347,6 +347,7 @@ void bind_loopback_tipc (void *socket_, char *my_endpoint_, size_t len_)
test_bind
(
socket_
,
"tipc://<*>"
,
my_endpoint_
,
len_
);
test_bind
(
socket_
,
"tipc://<*>"
,
my_endpoint_
,
len_
);
}
}
#if !defined(ZMQ_HAVE_WINDOWS) && !defined(ZMQ_HAVE_GNU)
// utility function to create a random IPC endpoint, similar to what a ipc://*
// utility function to create a random IPC endpoint, similar to what a ipc://*
// wildcard binding does, but in a way it can be reused for multiple binds
// wildcard binding does, but in a way it can be reused for multiple binds
void
make_random_ipc_endpoint
(
char
*
out_endpoint_
)
void
make_random_ipc_endpoint
(
char
*
out_endpoint_
)
...
@@ -366,3 +367,4 @@ void make_random_ipc_endpoint (char *out_endpoint_)
...
@@ -366,3 +367,4 @@ void make_random_ipc_endpoint (char *out_endpoint_)
strcpy
(
out_endpoint_
,
"ipc://"
);
strcpy
(
out_endpoint_
,
"ipc://"
);
strcat
(
out_endpoint_
,
random_file
);
strcat
(
out_endpoint_
,
random_file
);
}
}
#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