diff options
author | Rei Odaira <[email protected]> | 2020-11-01 00:12:01 -0500 |
---|---|---|
committer | Rei Odaira <[email protected]> | 2020-11-01 00:12:55 -0500 |
commit | 305c79af2f3358f3c330b00c6a883634894bc35c (patch) | |
tree | 0e289ec70cc13cf26579183a6292f91aae74e093 /ext/socket/rubysocket.h | |
parent | 0e33028d69a25c512df1a44f930652c9a5c5b153 (diff) |
ext/socket/rubysocket.h: avoid the conflict of T_DATA definition in AIX
Diffstat (limited to 'ext/socket/rubysocket.h')
-rw-r--r-- | ext/socket/rubysocket.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/rubysocket.h b/ext/socket/rubysocket.h index 91b446d3a1..9724fcc403 100644 --- a/ext/socket/rubysocket.h +++ b/ext/socket/rubysocket.h @@ -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. * |