From: Chris Hanson Date: Thu, 26 Jun 1997 07:02:22 +0000 (+0000) Subject: Watcom 11: use __try/__except for new version of Watcom compiler, as X-Git-Tag: 20090517-FFI~5096 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=e16420b1a55f27a266930182556946a47df088a2;p=mit-scheme.git Watcom 11: use __try/__except for new version of Watcom compiler, as it is now fixed and works properly. --- diff --git a/v7/src/microcode/nttrap.c b/v7/src/microcode/nttrap.c index b95840079..fcff1ca23 100644 --- a/v7/src/microcode/nttrap.c +++ b/v7/src/microcode/nttrap.c @@ -1,6 +1,6 @@ /* -*-C-*- -$Id: nttrap.c,v 1.13 1997/05/06 04:51:12 cph Exp $ +$Id: nttrap.c,v 1.14 1997/06/26 07:02:22 cph Exp $ Copyright (c) 1992-97 Massachusetts Institute of Technology @@ -1323,7 +1323,9 @@ DEFUN (WinntException, (code, info), } } -#ifdef __WATCOMC__ +#if (defined(__WATCOMC__) && (__WATCOMC__ < 1100)) +/* Watcom 10 has broken __try/__except support, + which has been fixed in version 11. */ #define USE_SET_UNHANDLED_EXCEPTION_FILTER #endif