mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Fixed build error with libsodium.
This commit is contained in:
parent
55692665dc
commit
bb0ec76de3
|
@ -71,6 +71,9 @@ typedef int sock_t;
|
|||
#include <crypto_secretbox.h>
|
||||
#include <randombytes.h>
|
||||
#define crypto_box_MACBYTES (crypto_box_ZEROBYTES - crypto_box_BOXZEROBYTES)
|
||||
#endif
|
||||
|
||||
#ifndef crypto_secretbox_MACBYTES
|
||||
#define crypto_secretbox_MACBYTES (crypto_secretbox_ZEROBYTES - crypto_secretbox_BOXZEROBYTES)
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user