* 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.
This commit is contained in:
Corinna Vinschen 2013-10-26 09:37:34 +00:00
parent 7a1dc2a940
commit 2e178c6909
3 changed files with 11 additions and 5 deletions

View File

@ -1,3 +1,9 @@
2013-10-25 Corinna Vinschen <corinna@vinschen.de>
* 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 <corinna@vinschen.de> 2013-10-25 Corinna Vinschen <corinna@vinschen.de>
* flock.cc (fhandler_base::lock): Only refuse to lock nohandle and * flock.cc (fhandler_base::lock): Only refuse to lock nohandle and

View File

@ -8,10 +8,6 @@ details. */
#pragma once #pragma once
#ifdef __x86_64__
#define _exception_list _EXCEPTION_REGISTRATION_RECORD
#endif
#include <exceptions.h> #include <exceptions.h>
#ifndef __x86_64__ #ifndef __x86_64__

View File

@ -1,6 +1,6 @@
/* exceptions.h /* 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. This file is part of Cygwin.
@ -11,6 +11,8 @@ details. */
#ifndef _EXCEPTIONS_H #ifndef _EXCEPTIONS_H
#define _EXCEPTIONS_H #define _EXCEPTIONS_H
#ifndef __x86_64__
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif /* __cplusplus */ #endif /* __cplusplus */
@ -112,4 +114,6 @@ typedef struct _exception_list
}; };
#endif /* __cplusplus */ #endif /* __cplusplus */
#endif /* __x86_64__ */
#endif /* _EXCEPTIONS_H */ #endif /* _EXCEPTIONS_H */