Browse files

Fix undefined MSG_NOSIGNAL

Only Linux seems to support it.
For other OSes we set to the default value 0x00 to do nothing.
  • Loading branch information...
pleonex committed Oct 16, 2018
1 parent e221187 commit f5f9708f3b62f53bcdd5c9932fdcbe49ffe4f04b
Showing with 5 additions and 0 deletions.
  1. +5 −0 ext/native/base/buffer.cpp
@@ -13,6 +13,11 @@
#include <unistd.h>
// Default value to 0x00 (do nothing) in systems where it's not supported.
#define MSG_NOSIGNAL 0x00
#include "base/logging.h"
#include "base/timeutil.h"
#include "file/fd_util.h"

0 comments on commit f5f9708

Please sign in to comment.