mirror of
https://github.com/curl/curl.git
synced 2026-08-24 23:03:42 +03:00
curl tool: symbol check adjustment
This commit is contained in:
parent
aa7d5b946a
commit
0572ad6d01
1 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue