* ext/socket/option.c: Use "int" for IP_MULTICAST_LOOP and
IP_MULTICAST_TTL on Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
779a630aee
commit
8b5694d5e8
@ -1,7 +1,7 @@
|
|||||||
Tue Jan 21 04:27:30 2014 Tanaka Akira <akr@fsij.org>
|
Tue Jan 21 04:31:23 2014 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
* ext/socket/option.c: Use "int" for IP_MULTICAST_LOOP and
|
* ext/socket/option.c: Use "int" for IP_MULTICAST_LOOP and
|
||||||
IP_MULTICAST_TTL on Mac OS X.
|
IP_MULTICAST_TTL on Mac OS X and Windows.
|
||||||
|
|
||||||
Tue Jan 21 00:39:15 2014 Tanaka Akira <akr@fsij.org>
|
Tue Jan 21 00:39:15 2014 Tanaka Akira <akr@fsij.org>
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ VALUE rb_cSockOpt;
|
|||||||
#define CAT(x,y) x##y
|
#define CAT(x,y) x##y
|
||||||
#define XCAT(x,y) CAT(x,y)
|
#define XCAT(x,y) CAT(x,y)
|
||||||
|
|
||||||
#if defined(__linux__) || defined(__FreeBSD__) || defined(__APPLE__)
|
#if defined(__linux__) || defined(__FreeBSD__) || defined(__APPLE__) || defined(_WIN32)
|
||||||
# define TYPE_IP_MULTICAST_LOOP int
|
# define TYPE_IP_MULTICAST_LOOP int
|
||||||
# define TYPE_IP_MULTICAST_TTL int
|
# define TYPE_IP_MULTICAST_TTL int
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user