From a211d03d716d94d7985920b77f16b610b148c71a Mon Sep 17 00:00:00 2001 From: Randy Jordan Date: Fri, 6 Mar 2026 10:49:59 -0600 Subject: [PATCH] Fixed signed compare error --- include/except.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/except.h b/include/except.h index 58b4d4f..de7fd66 100644 --- a/include/except.h +++ b/include/except.h @@ -40,9 +40,7 @@ extern DWORD except_index; extern void except_init(void); extern void except_push(Except_Frame *fp); extern void except_pop(void); -#endif -#ifdef WIN32 #define RAISE(e) except_raise(&(e), __FILE__, __LINE__) #define RERAISE except_raise(except_frame.exception, \ except_frame.file, except_frame.line) @@ -50,7 +48,7 @@ extern void except_pop(void); #define TRY do { \ volatile int except_flag; \ Except_Frame except_frame; \ - if (except_index == -1) \ + if (except_index == TLS_OUT_OF_INDEXES) \ except_init(); \ except_push(&except_frame); \ except_flag = setjmp(except_frame.env); \