0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-27 07:31:03 +08:00

Merge pull request #3772 from kanonet/mingw-lib

mingw: add missing namespace
This commit is contained in:
Luca Boccassi 2020-01-09 20:53:29 +00:00 committed by GitHub
commit a9cca0d568
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

8
RELICENSE/kanonet.md Normal file
View File

@ -0,0 +1,8 @@
# Permission to Relicense under MPLv2 or any other OSI approved license chosen by the current ZeroMQ BDFL
This is a statement by Christoph Kahl that grants permission to relicense its copyrights in the libzmq C++ library (ZeroMQ) under the Mozilla Public License v2 (MPLv2) or any other Open Source Initiative approved license chosen by the current ZeroMQ BDFL (Benevolent Dictator for Life).
A portion of the commits made by the Github handle "kanonet", with commit author "Christoph Kahl", are copyright of Christoph Kahl. This document hereby grants the libzmq project team to relicense libzmq, including all past, present and future contributions of the author listed above.
Christoph Kahl
2020/01/09

View File

@ -382,7 +382,7 @@ static int make_fdpair_tcpip (zmq::fd_t *r_, zmq::fd_t *w_)
wchar_t mutex_name[MAX_PATH]; wchar_t mutex_name[MAX_PATH];
#ifdef __MINGW32__ #ifdef __MINGW32__
_snwprintf (mutex_name, MAX_PATH, L"Global\\zmq-signaler-port-%d", _snwprintf (mutex_name, MAX_PATH, L"Global\\zmq-signaler-port-%d",
signaler_port); zmq::signaler_port);
#else #else
swprintf (mutex_name, MAX_PATH, L"Global\\zmq-signaler-port-%d", swprintf (mutex_name, MAX_PATH, L"Global\\zmq-signaler-port-%d",
zmq::signaler_port); zmq::signaler_port);