Project

General

Profile

Backport #8517 ยป socket.apple_IPV6_PKTINFO.patch

drbrain (Eric Hodel), 06/12/2013 11:25 AM

View differences:

ext/socket/extconf.rb (working copy)
294 294

  
295 295
$INCFLAGS << " -I$(topdir) -I$(top_srcdir)"
296 296

  
297
if /darwin/ =~ RUBY_PLATFORM
298
  $CFLAGS << " -D__APPLE_USE_RFC_3542"
299
end
300

  
297 301
headers = []
298 302
unless $mswin or $mingw
299 303
  headers = %w<sys/types.h netdb.h string.h sys/socket.h netinet/in.h>