summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorRei Odaira <rodaira@us.ibm.com>2020-11-01 00:12:01 -0500
committerRei Odaira <rodaira@us.ibm.com>2020-11-01 00:12:55 -0500
commit305c79af2f3358f3c330b00c6a883634894bc35c (patch)
tree0e289ec70cc13cf26579183a6292f91aae74e093 /ext
parent0e33028d69a25c512df1a44f930652c9a5c5b153 (diff)
ext/socket/rubysocket.h: avoid the conflict of T_DATA definition in AIX
Diffstat (limited to 'ext')
-rw-r--r--ext/socket/rubysocket.h2
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.
*