mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Add sodium_init() function to startup.
This commit is contained in:
parent
6e691a3c34
commit
5e4f3ce07f
|
@ -407,6 +407,10 @@ static int at_startup(void)
|
|||
if (at_startup_ran != 0)
|
||||
return 0;
|
||||
|
||||
#ifndef VANILLA_NACL
|
||||
sodium_init();
|
||||
#endif
|
||||
|
||||
#ifdef WIN32
|
||||
WSADATA wsaData;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user