summaryrefslogtreecommitdiff
path: root/toxcore/network.h
diff options
context:
space:
mode:
authorJin^eLD <jin@mediatomb.cc>2013-09-05 13:02:26 +0300
committerJin^eLD <jin@mediatomb.cc>2013-09-06 22:54:45 +0300
commite092eee869ee4bb78974985321b55a3235c32b4d (patch)
tree8732ff254fa4fa157e1752e3ec1f6a0dfb01b251 /toxcore/network.h
parent64570a1b12d308449aa0d688f7f513847d1dc0f7 (diff)
Allow to build vs nacl instead of libsodium
By default libsodium is used. Only if --enable-nacl is specified, then nacl will be used instead of libsodium. Pass locations of nacl headers and libraries by using the following options: --with-nacl-headers=/home/me/somewhere/nacl-20110221/build/469/include/amd64/ --with-nacl-libs=/home/me/somewhere/nacl-20110221/build/469/lib/amd64/
Diffstat (limited to 'toxcore/network.h')
-rw-r--r--toxcore/network.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/toxcore/network.h b/toxcore/network.h
index ca79a81b..2d08e88d 100644
--- a/toxcore/network.h
+++ b/toxcore/network.h
@@ -39,8 +39,6 @@
39#include <windows.h> 39#include <windows.h>
40#include <ws2tcpip.h> 40#include <ws2tcpip.h>
41 41
42#undef VANILLA_NACL /* Make sure on Windows we use libsodium. */
43
44#else // Linux includes 42#else // Linux includes
45 43
46#include <fcntl.h> 44#include <fcntl.h>