powerpc longjmp: Fix build after chk hidden builtin fix

04bf7d2d8a ("chk: Add and fix hidden builtin definitions for *_chk")
added an #undef for longjmp and siglongjmp to compensate for the
definition in include/setjmp.h, but missed doing so for the powerpc
version too.

Fixes: 04bf7d2d8a ("chk: Add and fix hidden builtin definitions for
*_chk")
This commit is contained in:
Samuel Thibault 2023-08-04 10:01:11 +02:00
parent c579293f67
commit 41d8c3bc33
1 changed files with 3 additions and 0 deletions

View File

@ -22,6 +22,9 @@
#include <setjmp.h>
#include <signal.h>
#undef longjmp
#undef siglongjmp
extern void __vmx__longjmp (__jmp_buf __env, int __val)
__attribute__ ((noreturn));
extern void __vmx__libc_longjmp (sigjmp_buf env, int val)