summaryrefslogtreecommitdiff
path: root/src/if_ruby.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/if_ruby.c')
-rw-r--r--src/if_ruby.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/if_ruby.c b/src/if_ruby.c
index 6bb8b804c..8dd606421 100644
--- a/src/if_ruby.c
+++ b/src/if_ruby.c
@@ -54,7 +54,7 @@
#undef _
/* T_DATA defined both by Ruby and Mac header files, hack around it... */
-#ifdef MACOS
+#if defined(MACOS_X_UNIX) || defined(macintosh)
# define __OPENTRANSPORT__
# define __OPENTRANSPORTPROTOCOL__
# define __OPENTRANSPORTPROVIDERS__