diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-01-20 19:32:03 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-01-20 19:32:03 +0000 |
commit | 779a630aee3aee42693abb6ae213234e799dcea0 (patch) | |
tree | 0dc421ae7f33ef82661bb898dea3df59535256fb /ext/socket | |
parent | 5af92f6369f02318d57114342891b849b12d39e4 (diff) | |
download | ruby-779a630aee3aee42693abb6ae213234e799dcea0.tar.gz |
* ext/socket/option.c: Use "int" for IP_MULTICAST_LOOP and
IP_MULTICAST_TTL on Mac OS X.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket')
-rw-r--r-- | ext/socket/option.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/option.c b/ext/socket/option.c index 957465ec02..74bc15a106 100644 --- a/ext/socket/option.c +++ b/ext/socket/option.c @@ -7,7 +7,7 @@ VALUE rb_cSockOpt; #define CAT(x,y) x##y #define XCAT(x,y) CAT(x,y) -#if defined(__linux__) || defined(__FreeBSD__) +#if defined(__linux__) || defined(__FreeBSD__) || defined(__APPLE__) # define TYPE_IP_MULTICAST_LOOP int # define TYPE_IP_MULTICAST_TTL int #else |