diff options
Diffstat (limited to 'lib/getpass.c')
-rw-r--r-- | lib/getpass.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/getpass.c b/lib/getpass.c index 118579e69..b6ea97805 100644 --- a/lib/getpass.c +++ b/lib/getpass.c @@ -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 |