1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 /* From mingw-w64 excpt.h */
5 #ifndef INCLUDED_WNTGCCX_SEHANDLER_HXX
6 #define INCLUDED_WNTGCCX_SEHANDLER_HXX
8 #if !defined( __MINGW32__ ) || !defined ( _WIN64 )
9 #error This file should be included only in a 64-bit MinGW compilation
18 __asm__ __volatile__ ("\t.l_startw:\n" \
30 #define __except(exvalue) \
31 __asm__ __volatile__ ("\tnop\n" \
32 "\t.seh_handler __C_specific_handler, @except\n" \
33 "\t.seh_handlerdata\n" \
35 "\t.rva .l_startw, .l_endw, " __MINGW64_STRINGIFY(exvalue) " ,.l_endw\n" \
40 #define __except(exvalue) \
45 #endif // INCLUDED_WNTGCCX_SEHANDLER_HXX