From 305c79af2f3358f3c330b00c6a883634894bc35c Mon Sep 17 00:00:00 2001 From: Rei Odaira Date: Sun, 1 Nov 2020 00:12:01 -0500 Subject: ext/socket/rubysocket.h: avoid the conflict of T_DATA definition in AIX --- ext/socket/rubysocket.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext') 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' have conflicting definition of T_DATA. Let * us honour system definition by undefining ours. * -- cgit v1.2.3