diff options
author | Kevin Ryde <user42@zip.com.au> | 2000-06-30 01:45:36 +0200 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2000-06-30 01:45:36 +0200 |
commit | ac259764cc5d2ac1ef3ed538801db0a75dde39ca (patch) | |
tree | d34f9bac0c9f30d5a3aec0f328ddef075bd65554 /demos/pexpr.c | |
parent | 18a554a7ae29774682e963c9473fcd432966ae35 (diff) | |
download | gmp-ac259764cc5d2ac1ef3ed538801db0a75dde39ca.tar.gz |
* demos/pexpr.c [__DJGPP__]: Patch by Richard Dawe to not use
setup_error_handler on djgpp.
Diffstat (limited to 'demos/pexpr.c')
-rw-r--r-- | demos/pexpr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/demos/pexpr.c b/demos/pexpr.c index 8b64503dd..c7d6ab4c7 100644 --- a/demos/pexpr.c +++ b/demos/pexpr.c @@ -118,7 +118,7 @@ char *newline = ""; #define sigaltstack sigstack #endif -#ifndef _WIN32 +#if !defined(_WIN32) && !defined(__DJGPP__) void setup_error_handler () { @@ -171,7 +171,7 @@ setup_error_handler () sigaction (SIGBUS, &act, 0); sigaction (SIGFPE, &act, 0); } -#endif /* ! _WIN32 */ +#endif /* ! _WIN32 && ! __DJGPP__ */ main (int argc, char **argv) { @@ -182,7 +182,7 @@ main (int argc, char **argv) char *str; int base = 10; -#ifndef _WIN32 +#if !defined(_WIN32) && !defined(__DJGPP__) setup_error_handler (); #endif |