Commit e10b7c8c authored by Jesper Louis Andersen's avatar Jesper Louis Andersen
Browse files

Fail compilation if the Erlang/OTP system has no dirty scheduler support.

parent 23e535fc
......@@ -2,6 +2,10 @@
#include <sodium.h>
#ifndef ERL_NIF_DIRTY_SCHEDULER_SUPPORT
# error Requires dirty schedulers
#endif
/* Errors */
static
ERL_NIF_TERM nacl_error_tuple(ErlNifEnv *env, char *error_atom) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment