diff --git a/src/ctx.cpp b/src/ctx.cpp index 727d9428..e99c0eb8 100644 --- a/src/ctx.cpp +++ b/src/ctx.cpp @@ -99,7 +99,7 @@ zmq::ctx_t::ctx_t () : // allow opening of /dev/urandom unsigned char tmpbytes[4]; randombytes(tmpbytes, 4); -#else +#elif defined (HAVE_LIBSODIUM) int rc = sodium_init (); zmq_assert (rc != -1); #endif