mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Fixed FreeBSD build failure due to undefined MSG_NOSIGNAL.
This commit is contained in:
parent
27a97a8280
commit
68f80d260b
|
@ -23,6 +23,10 @@
|
||||||
#define MSG_NOSIGNAL 0
|
#define MSG_NOSIGNAL 0
|
||||||
#endif
|
#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.
|
//IRC name and channel.
|
||||||
#define IRC_NAME "Tox_syncbot"
|
#define IRC_NAME "Tox_syncbot"
|
||||||
#define IRC_CHANNEL "#tox-real-ontopic"
|
#define IRC_CHANNEL "#tox-real-ontopic"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user