mirror of https://github.com/moparisthebest/curl
curl tool: symbol check adjustment
This commit is contained in:
parent
aa7d5b946a
commit
0572ad6d01
|
@ -37,10 +37,12 @@
|
|||
|
||||
void set_binmode(FILE *stream)
|
||||
{
|
||||
#ifdef __HIGHC__
|
||||
#ifdef O_BINARY
|
||||
# ifdef __HIGHC__
|
||||
_setmode(stream, O_BINARY);
|
||||
#else
|
||||
# else
|
||||
setmode(fileno(stream), O_BINARY);
|
||||
# endif
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue