0
0
Fork 0
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:
Daniel Shapira 2020-10-05 19:14:43 +03:00 committed by GitHub
parent 4bfe595ea5
commit 2222e6a971
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,6 +14,11 @@
#include <sys/types.h> #include <sys/types.h>
#include <stdint.h> #include <stdint.h>
// fix compiling on OSX
#if defined(__APPLE__)
#define MSG_NOSIGNAL 0
#endif
// Base command IDs per category. // Base command IDs per category.
#define BASE_CMD_SYSTEM 0x0000 #define BASE_CMD_SYSTEM 0x0000
#define BASE_CMD_FILE 0x0100 #define BASE_CMD_FILE 0x0100