summaryrefslogtreecommitdiff
path: root/include/wntgccx/sehandler.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/wntgccx/sehandler.hxx')
-rw-r--r--include/wntgccx/sehandler.hxx46
1 files changed, 0 insertions, 46 deletions
diff --git a/include/wntgccx/sehandler.hxx b/include/wntgccx/sehandler.hxx
deleted file mode 100644
index e80a8283e429..000000000000
--- a/include/wntgccx/sehandler.hxx
+++ /dev/null
@@ -1,46 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-
-/* From mingw-w64 excpt.h */
-
-#ifndef INCLUDED_WNTGCCX_SEHANDLER_HXX
-#define INCLUDED_WNTGCCX_SEHANDLER_HXX
-
-#if !defined( __MINGW32__ ) || !defined ( _WIN64 )
-#error This file should be included only in a 64-bit MinGW compilation
-#endif
-
-#ifdef __try
-#undef __try
-#endif
-
-#if 0
-#define __try \
- __asm__ __volatile__ ("\t.l_startw:\n" \
- );
-#else
-#define __try \
- if (true)
-#endif
-
-#ifdef __except
-#undef __except
-#endif
-
-#if 0
-#define __except(exvalue) \
- __asm__ __volatile__ ("\tnop\n" \
- "\t.seh_handler __C_specific_handler, @except\n" \
- "\t.seh_handlerdata\n" \
- "\t.long 1\n" \
- "\t.rva .l_startw, .l_endw, " __MINGW64_STRINGIFY(exvalue) " ,.l_endw\n" \
- "\t.text\n" \
- "\t.l_endw: nop\n" \
- );
-#else
-#define __except(exvalue) \
- if (false)
-#endif
-
-
-#endif // INCLUDED_WNTGCCX_SEHANDLER_HXX
-