mirror of
https://github.com/curl/curl.git
synced 2026-08-25 23:23:31 +03:00
Gisle Vanem made curl build with djgpp on DOS.
This commit is contained in:
parent
509f69a457
commit
d5043133e6
19 changed files with 469 additions and 14 deletions
|
|
@ -99,7 +99,7 @@ char *getpass_r(const char *prompt, char *buffer, size_t buflen)
|
|||
char infp_fclose = 0;
|
||||
FILE *outfp;
|
||||
RETSIGTYPE (*sigint)();
|
||||
#ifndef __EMX__
|
||||
#if !defined(__EMX__) && !defined(__DJGPP__)
|
||||
RETSIGTYPE (*sigtstp)();
|
||||
#endif
|
||||
size_t bytes_read;
|
||||
|
|
@ -119,7 +119,7 @@ char *getpass_r(const char *prompt, char *buffer, size_t buflen)
|
|||
sigint = signal(SIGINT, SIG_IGN);
|
||||
/* 20000318 mgs
|
||||
* this is needed by the emx system, SIGTSTP is not a supported signal */
|
||||
#ifndef __EMX__
|
||||
#if !defined(__EMX__) && !defined(__DJGPP__)
|
||||
sigtstp = signal(SIGTSTP, SIG_IGN);
|
||||
#endif
|
||||
|
||||
|
|
@ -181,7 +181,7 @@ char *getpass_r(const char *prompt, char *buffer, size_t buflen)
|
|||
#endif
|
||||
|
||||
signal(SIGINT, sigint);
|
||||
#ifndef __EMX__
|
||||
#if !defined(__EMX__) && !defined(__DJGPP__)
|
||||
signal(SIGTSTP, sigtstp);
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue