mirror of
https://github.com/curl/curl.git
synced 2026-06-04 19:04:15 +03:00
STDIN_FILENO, STDOUT_FILENO and STDERR_FILENO clone macros
This commit is contained in:
parent
5ee3f41e0d
commit
9bd28a021f
1 changed files with 12 additions and 0 deletions
12
src/main.c
12
src/main.c
|
|
@ -158,6 +158,18 @@ char **__crt0_glob_function (char *arg)
|
|||
#endif /* __DJGPP__ */
|
||||
#endif /* MSDOS */
|
||||
|
||||
#ifndef STDIN_FILENO
|
||||
#define STDIN_FILENO fileno(stdin)
|
||||
#endif
|
||||
|
||||
#ifndef STDOUT_FILENO
|
||||
#define STDOUT_FILENO fileno(stdout)
|
||||
#endif
|
||||
|
||||
#ifndef STDERR_FILENO
|
||||
#define STDERR_FILENO fileno(stderr)
|
||||
#endif
|
||||
|
||||
#define CURL_PROGRESS_STATS 0 /* default progress display */
|
||||
#define CURL_PROGRESS_BAR 1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue