Skip to content
Snippets Groups Projects
Commit 0572ad6d authored by Yang Tse's avatar Yang Tse
Browse files

curl tool: symbol check adjustment

parent aa7d5b94
No related branches found
No related tags found
No related merge requests found
......@@ -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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment