curl tool: symbol check adjustment

This commit is contained in:
Yang Tse
2011-10-05 02:58:18 +02:00
parent aa7d5b946a
commit 0572ad6d01

View File

@@ -37,11 +37,13 @@
void set_binmode(FILE *stream) void set_binmode(FILE *stream)
{ {
#ifdef O_BINARY
# ifdef __HIGHC__ # ifdef __HIGHC__
_setmode(stream, O_BINARY); _setmode(stream, O_BINARY);
# else # else
setmode(fileno(stream), O_BINARY); setmode(fileno(stream), O_BINARY);
# endif # endif
#endif
} }
#endif /* HAVE_SETMODE */ #endif /* HAVE_SETMODE */