diff options
author | John David Anglin <danglin@gcc.gnu.org> | 2024-07-19 10:10:17 -0400 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2024-07-19 10:10:17 -0400 |
commit | 8cfa4ecff21adf226984f135aa576dd8063bbba3 (patch) | |
tree | 1c624821f2207a588a7316ba6a4e297845a9e416 /sysdeps | |
parent | 91eb62d63887a959e43aafb6fc022a87614dc7c9 (diff) | |
download | glibc-8cfa4ecff21adf226984f135aa576dd8063bbba3.zip glibc-8cfa4ecff21adf226984f135aa576dd8063bbba3.tar.gz glibc-8cfa4ecff21adf226984f135aa576dd8063bbba3.tar.bz2 |
Fix usage of _STACK_GROWS_DOWN and _STACK_GROWS_UP defines [BZ 31989]
Signed-off-by: John David Anglin <dave.anglin@bell.net>
Reviewed-By: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/____longjmp_chk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/____longjmp_chk.c b/sysdeps/unix/sysv/linux/____longjmp_chk.c index 0896dc5..3c66a46 100644 --- a/sysdeps/unix/sysv/linux/____longjmp_chk.c +++ b/sysdeps/unix/sysv/linux/____longjmp_chk.c @@ -23,7 +23,7 @@ #include <stdio.h> #include <stackinfo.h> -#ifdef _STACK_GROWS_DOWN +#if _STACK_GROWS_DOWN #define called_from(this, saved) ((this) < (saved)) #else #define called_from(this, saved) ((this) > (saved)) |