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,10 +37,12 @@
void set_binmode(FILE *stream) void set_binmode(FILE *stream)
{ {
#ifdef __HIGHC__ #ifdef O_BINARY
# 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
} }