From 19976253a0a9c542024fd4636820bf1d76fcf417 Mon Sep 17 00:00:00 2001 From: "nethack.allison" Date: Sun, 7 Dec 2003 01:33:25 +0000 Subject: [PATCH] wince build fix (from ) [this is not meant to trigger re-packaging for 3.4.3] Windows CE defines leave as part of exception handling (__leave) It confilicts with existing sources and since we don't use exceptions it is safe to undefine it --- include/wceconf.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/include/wceconf.h b/include/wceconf.h index ed884dd9d..ebd0c4ceb 100644 --- a/include/wceconf.h +++ b/include/wceconf.h @@ -43,6 +43,8 @@ #define USER_SOUNDS +#define AUTOPICKUP_EXCEPTIONS + /* * ----------------------------------------------------------------- * The remaining code shouldn't need modification. @@ -348,4 +350,11 @@ extern long __cdecl ftell(FILE * f); # undef ARM # endif +/* leave - Windows CE defines leave as part of exception handling (__leave) + It confilicts with existing sources and since we don't use exceptions it is safe + to undefine it */ +# ifdef leave +# undef leave +# endif + #endif /* WCECONF_H */ -- 2.40.0