3b2: Remove glibc-specific longjmp
At one point in the distant past, there was an unremembered reason to prefer __libc_longjmp if it was available. It is no longer needed, and has been removed from glibc in the most recent versions. Fixes #1088.
This commit is contained in:
parent
525215b07e
commit
74021166d3
1 changed files with 0 additions and 6 deletions
|
@ -54,12 +54,6 @@
|
||||||
#define noret void
|
#define noret void
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__GLIBC__) && !defined(__cplusplus)
|
|
||||||
/* use glibc internal longjmp to bypass fortify checks */
|
|
||||||
noret __libc_longjmp(jmp_buf buf, int val);
|
|
||||||
#define longjmp __libc_longjmp
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef MAX
|
#ifndef MAX
|
||||||
#define MAX(x, y) ((x) > (y) ? (x) : (y))
|
#define MAX(x, y) ((x) > (y) ? (x) : (y))
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue