From e16420b1a55f27a266930182556946a47df088a2 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Thu, 26 Jun 1997 07:02:22 +0000 Subject: [PATCH] Watcom 11: use __try/__except for new version of Watcom compiler, as it is now fixed and works properly. --- v7/src/microcode/nttrap.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 -- 2.25.1