summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/include/exceptions.h
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2013-10-26 09:37:34 +0000
committerCorinna Vinschen <corinna@vinschen.de>2013-10-26 09:37:34 +0000
commit2e178c6909d93b1160fe12ee594d0038ef9af847 (patch)
treeb0e5256711ac1ff9cf5342cbb4fce1d538f60251 /winsup/cygwin/include/exceptions.h
parent7a1dc2a940f927c76af423a97867ab12094487be (diff)
downloadcygnal-2e178c6909d93b1160fe12ee594d0038ef9af847.tar.gz
cygnal-2e178c6909d93b1160fe12ee594d0038ef9af847.tar.bz2
cygnal-2e178c6909d93b1160fe12ee594d0038ef9af847.zip
* exception.h (_exception_list): Drop redefinition for x86_64.
* include/exceptions.h: Disable content for x86_64 since it's not using frame based exception handling anymore.
Diffstat (limited to 'winsup/cygwin/include/exceptions.h')
-rw-r--r--winsup/cygwin/include/exceptions.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/include/exceptions.h b/winsup/cygwin/include/exceptions.h
index 498d584a9..82f064285 100644
--- a/winsup/cygwin/include/exceptions.h
+++ b/winsup/cygwin/include/exceptions.h
@@ -1,6 +1,6 @@
/* exceptions.h
- Copyright 1996, 1997, 1998, 2000, 2001, 2005 Red Hat, Inc.
+ Copyright 1996, 1997, 1998, 2000, 2001, 2005, 2013 Red Hat, Inc.
This file is part of Cygwin.
@@ -11,6 +11,8 @@ details. */
#ifndef _EXCEPTIONS_H
#define _EXCEPTIONS_H
+#ifndef __x86_64__
+
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
@@ -112,4 +114,6 @@ typedef struct _exception_list
};
#endif /* __cplusplus */
+#endif /* __x86_64__ */
+
#endif /* _EXCEPTIONS_H */