Gisle Vanem made curl build with djgpp on DOS.

This commit is contained in:
Daniel Stenberg 2003-05-21 08:08:48 +00:00
parent 509f69a457
commit d5043133e6
19 changed files with 469 additions and 14 deletions

View file

@ -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