The test macro for dirty schedulers are gone in 19.x Erlang/OTP
Remove it from the code, making the code able to compile.
This commit is contained in:
parent
8728c2cc10
commit
2ee171bcbf
@ -4,10 +4,6 @@
|
|||||||
|
|
||||||
#include <sodium.h>
|
#include <sodium.h>
|
||||||
|
|
||||||
#ifndef ERL_NIF_DIRTY_SCHEDULER_SUPPORT
|
|
||||||
# error Requires dirty schedulers
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Errors */
|
/* Errors */
|
||||||
static
|
static
|
||||||
ERL_NIF_TERM nacl_error_tuple(ErlNifEnv *env, char *error_atom) {
|
ERL_NIF_TERM nacl_error_tuple(ErlNifEnv *env, char *error_atom) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user