mirror of
https://github.com/nccgroup/thetick.git
synced 2023-12-14 04:33:00 +01:00
fix compiling on osx
MSG_NOSIGNAL is not defined on OSX
This commit is contained in:
parent
4bfe595ea5
commit
2222e6a971
1 changed files with 5 additions and 0 deletions
|
@ -14,6 +14,11 @@
|
|||
#include <sys/types.h>
|
||||
#include <stdint.h>
|
||||
|
||||
// fix compiling on OSX
|
||||
#if defined(__APPLE__)
|
||||
#define MSG_NOSIGNAL 0
|
||||
#endif
|
||||
|
||||
// Base command IDs per category.
|
||||
#define BASE_CMD_SYSTEM 0x0000
|
||||
#define BASE_CMD_FILE 0x0100
|
||||
|
|
Loading…
Reference in a new issue