wince build fix (from <Someone>)

[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
This commit is contained in:
nethack.allison
2003-12-07 01:33:25 +00:00
parent 691f81102e
commit 19976253a0

View File

@@ -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 */