summaryrefslogtreecommitdiff
path: root/ext/IO
diff options
context:
space:
mode:
Diffstat (limited to 'ext/IO')
-rw-r--r--ext/IO/IO.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/IO/IO.xs b/ext/IO/IO.xs
index 26b332b6a4..4f713a0917 100644
--- a/ext/IO/IO.xs
+++ b/ext/IO/IO.xs
@@ -26,7 +26,7 @@
#endif
#ifdef PerlIO
-#ifdef MACOS_TRADITIONAL
+#if defined(MACOS_TRADITIONAL) && defined(USE_SFIO)
#define PERLIO_IS_STDIO 1
#undef setbuf
#undef setvbuf