This repository has been archived on 2024-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
CodeBlocksPortable/dm/include/WIN32/SEHMAP.H

23 lines
535 B
C++
Raw Normal View History

/*
SEHMAP.H - Map old-style structured exception handling to correct names.
The mapping of structured exception handling statements from {try, except,
finally, leave} to their proper names (prefaced by "__") has been removed
from win32.mak. This header is provided solely for compatibility with
source code that used the older convention.
*/
#ifndef __cplusplus
#undef try
#undef except
#undef finally
#undef leave
#define try __try
#define except __except
#define finally __finally
#define leave __leave
#endif