Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/exception.h')
-rw-r--r--winsup/cygwin/exception.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/winsup/cygwin/exception.h b/winsup/cygwin/exception.h
deleted file mode 100644
index 9f4a6c45c..000000000
--- a/winsup/cygwin/exception.h
+++ /dev/null
@@ -1,33 +0,0 @@
-/* exception.h
-
- Copyright 2010, 2011 Red Hat, Inc.
-
-This software is a copyrighted work licensed under the terms of the
-Cygwin license. Please consult the file "CYGWIN_LICENSE" for
-details. */
-
-#ifndef _EXCEPTION_H
-#define _EXCEPTION_H
-
-#include <exceptions.h>
-
-extern exception_list *_except_list asm ("%fs:0");
-
-class exception
-{
- exception_list el;
- exception_list *save;
- static int handle (EXCEPTION_RECORD *, exception_list *, CONTEXT *, void *);
-public:
- exception () __attribute__ ((always_inline))
- {
- save = _except_list;
- el.handler = handle;
- el.prev = _except_list;
- _except_list = &el;
- };
- ~exception () __attribute__ ((always_inline)) { _except_list = save; }
-};
-
-#endif /*_EXCEPTION_H*/
-