diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2014-09-05 11:47:33 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2014-09-05 11:47:33 +0000 |
commit | bea3ef947a51f735d0cebb3099a5a34f44c1dd30 (patch) | |
tree | 7aab1dd8bf9df464da2e57e095895c7de6df6543 /winsup/cygwin/exception.h | |
parent | acc511d184cd702e171729771c80e62545f8e0b3 (diff) | |
download | newlib-bea3ef947a51f735d0cebb3099a5a34f44c1dd30.zip newlib-bea3ef947a51f735d0cebb3099a5a34f44c1dd30.tar.gz newlib-bea3ef947a51f735d0cebb3099a5a34f44c1dd30.tar.bz2 |
* exception.h (class exception): Remove unnecessary #ifdef.
* uinfo.cc (client_request_pwdgrp::client_request_pwdgrp): Fix length
counter to include trailing NUL.
* sec_auth.cc (get_user_groups): Add experimental exception handler.
(get_user_local_groups): Ditto.
Diffstat (limited to 'winsup/cygwin/exception.h')
-rw-r--r-- | winsup/cygwin/exception.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/winsup/cygwin/exception.h b/winsup/cygwin/exception.h index 9e34799..3686bb0 100644 --- a/winsup/cygwin/exception.h +++ b/winsup/cygwin/exception.h @@ -126,17 +126,15 @@ public: ~exception () __attribute__ ((always_inline)) { _except_list = save; } }; -#else +#else /* __x86_64__ */ #define exception_list void typedef struct _DISPATCHER_CONTEXT *PDISPATCHER_CONTEXT; class exception { -#ifdef __x86_64__ static EXCEPTION_DISPOSITION myfault (EXCEPTION_RECORD *, exception_list *, CONTEXT *, PDISPATCHER_CONTEXT); -#endif static EXCEPTION_DISPOSITION handle (EXCEPTION_RECORD *, exception_list *, CONTEXT *, PDISPATCHER_CONTEXT); public: @@ -162,7 +160,7 @@ public: } }; -#endif /* !__x86_64 */ +#endif /* !__x86_64__ */ class cygwin_exception { |