mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-28 07:58:14 +08:00
Merge pull request #1875 from hintjens/master
Tweaks to building libzmq
This commit is contained in:
commit
cddfda2aed
@ -99,7 +99,7 @@ zmq::ctx_t::ctx_t () :
|
||||
// allow opening of /dev/urandom
|
||||
unsigned char tmpbytes[4];
|
||||
randombytes(tmpbytes, 4);
|
||||
#elif defined (HAVE_LIBSODIUM)
|
||||
#elif defined (ZMQ_USE_SODIUM)
|
||||
int rc = sodium_init ();
|
||||
zmq_assert (rc != -1);
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user