Fixed FreeBSD build failure due to undefined MSG_NOSIGNAL.

This commit is contained in:
Yuri 2017-01-13 00:24:00 -08:00
parent 27a97a8280
commit 68f80d260b

View File

@ -23,6 +23,10 @@
#define MSG_NOSIGNAL 0
#endif
#if defined(__FreeBSD__) && !defined(MSG_NOSIGNAL)
#define MSG_NOSIGNAL 0x20000 // only defined on FreeBSD for some __POSIX_VISIBLE, causes compilation failures
#endif
//IRC name and channel.
#define IRC_NAME "Tox_syncbot"
#define IRC_CHANNEL "#tox-real-ontopic"