summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorTomoyuki Sahara <[email protected]>2015-07-28 09:00:31 +0900
committerTomoyuki Sahara <[email protected]>2015-07-28 09:00:31 +0900
commit8527c78fb5c02aa2102625678c5ce9bd3b8436d3 (patch)
treeab15a11a89a52ffcec1be7052d290ce1e76b71a6 /src
parentde60400c64da15e0ce7bd1d0cdb8d8652e864641 (diff)
parent2929c629d455bf48bf72c6a819ef85f7c626f5aa (diff)
downloadmruby-8527c78fb5c02aa2102625678c5ce9bd3b8436d3.tar.gz
mruby-8527c78fb5c02aa2102625678c5ce9bd3b8436d3.zip
Merge pull request #22 from Asmod4n/master
added SO_NOSIGPIPE
Diffstat (limited to 'src')
-rw-r--r--src/const.cstub3
-rw-r--r--src/const.def1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/const.cstub b/src/const.cstub
index 553e47f8c..52f9a7813 100644
--- a/src/const.cstub
+++ b/src/const.cstub
@@ -340,6 +340,9 @@
#ifdef SO_LINGER
define_const(SO_LINGER);
#endif
+#ifdef SO_NOSIGPIPE
+ define_const(SO_NOSIGPIPE);
+#endif
#ifdef SO_OOBINLINE
define_const(SO_OOBINLINE);
#endif
diff --git a/src/const.def b/src/const.def
index e0ee5e2a4..27d246c13 100644
--- a/src/const.def
+++ b/src/const.def
@@ -121,6 +121,7 @@ SO_DONTROUTE
SO_ERROR
SO_KEEPALIVE
SO_LINGER
+SO_NOSIGPIPE
SO_OOBINLINE
SO_PEERCRED
SO_RCVBUF