Define setbuf, setvbuf for Mac OS
p4raw-link: @14062 on //depot/maint-5.6/macperl:
d2831b2dc1da27449e9029c3ee480940d54b287d
p4raw-id: //depot/perl@14081
p4raw-integrated: from //depot/maint-5.6/macperl@14078 'merge in'
ext/IO/IO.xs (@11007..)
#endif
#ifdef PerlIO
+#ifdef MACOS_TRADITIONAL
+#define PERLIO_IS_STDIO 1
+#undef setbuf
+#undef setvbuf
+#define setvbuf _stdsetvbuf
+#define setbuf(f,b) ( __sf_setbuf(f,b) )
+#endif
typedef int SysRet;
typedef PerlIO * InputStream;
typedef PerlIO * OutputStream;