From 2e178c6909d93b1160fe12ee594d0038ef9af847 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Sat, 26 Oct 2013 09:37:34 +0000 Subject: [PATCH] * 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. --- winsup/cygwin/ChangeLog | 6 ++++++ winsup/cygwin/exception.h | 4 ---- winsup/cygwin/include/exceptions.h | 6 +++++- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index a02489ddb..93003ff51 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,9 @@ +2013-10-25 Corinna Vinschen + + * 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. + 2013-10-25 Corinna Vinschen * flock.cc (fhandler_base::lock): Only refuse to lock nohandle and diff --git a/winsup/cygwin/exception.h b/winsup/cygwin/exception.h index 5b11b0c00..8981c241b 100644 --- a/winsup/cygwin/exception.h +++ b/winsup/cygwin/exception.h @@ -8,10 +8,6 @@ details. */ #pragma once -#ifdef __x86_64__ -#define _exception_list _EXCEPTION_REGISTRATION_RECORD -#endif - #include #ifndef __x86_64__ 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 */