1 /* gcc_seh.h: GCC exception codes.
3 This software is a copyrighted work licensed under the terms of the
4 Cygwin license. Please consult the file "CYGWIN_LICENSE" for
9 /* From the GCC source file libgcc/unwind-seh.c. */
11 #define STATUS_USER_DEFINED (1U << 29)
12 #define GCC_MAGIC (('G' << 16) | ('C' << 8) | 'C')
13 #define GCC_EXCEPTION(TYPE) \
14 (STATUS_USER_DEFINED | ((TYPE) << 24) | GCC_MAGIC)
15 #define STATUS_GCC_THROW GCC_EXCEPTION (0)
16 #define STATUS_GCC_UNWIND GCC_EXCEPTION (1)
17 #define STATUS_GCC_FORCED GCC_EXCEPTION (2)