mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 13:00:06 +00:00
hurd: fix unwind-resume.c build
This commit is contained in:
parent
335190fb39
commit
ff78268891
@ -1,6 +1,8 @@
|
||||
2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
|
||||
|
||||
* time/getdate.c: Include <stdbool.h>.
|
||||
* sysdeps/gnu/unwind-resume.c [!PTR_DEMANGLE] (_Unwind_Resume,
|
||||
__gcc_personality_v0): Do not call PTR_DEMANGLE.
|
||||
|
||||
2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
|
@ -57,7 +57,9 @@ _Unwind_Resume (struct _Unwind_Exception *exc)
|
||||
__libgcc_s_init ();
|
||||
|
||||
__typeof (__libgcc_s_resume) resume = __libgcc_s_resume;
|
||||
#ifdef PTR_DEMANGLE
|
||||
PTR_DEMANGLE (resume);
|
||||
#endif
|
||||
(*resume) (exc);
|
||||
}
|
||||
#endif
|
||||
@ -69,6 +71,8 @@ __gcc_personality_v0 PERSONALITY_PROTO
|
||||
__libgcc_s_init ();
|
||||
|
||||
__typeof (libgcc_s_personality) personality = libgcc_s_personality;
|
||||
#ifdef PTR_DEMANGLE
|
||||
PTR_DEMANGLE (personality);
|
||||
#endif
|
||||
return (*personality) PERSONALITY_ARGS;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user