1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

ext/socket/rubysocket.h: avoid the conflict of T_DATA definition in AIX

This commit is contained in:
Rei Odaira 2020-11-01 00:12:01 -05:00
parent 0e33028d69
commit 305c79af2f

View file

@ -4,7 +4,7 @@
#include "ruby/config.h"
#include RUBY_EXTCONF_H
#ifdef __sun
#if defined(__sun) || defined(_AIX)
/* (Recent?) Solaris' <nfs/nfs.h> have conflicting definition of T_DATA. Let
* us honour system definition by undefining ours.
*