diff options
author | John David Anglin <danglin@gcc.gnu.org> | 2024-07-19 10:10:17 -0400 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2024-07-19 21:22:02 +0200 |
commit | f6a75fddf4e71545c63dfcad99cc2df9bac38093 (patch) | |
tree | 2962d4569dca1f1c68c67e0141757f6b56bf552e /sysdeps | |
parent | e8f521709731ce3ae8d6f1eca30135d5c0606f02 (diff) | |
download | glibc-f6a75fddf4e71545c63dfcad99cc2df9bac38093.tar.gz glibc-f6a75fddf4e71545c63dfcad99cc2df9bac38093.tar.xz glibc-f6a75fddf4e71545c63dfcad99cc2df9bac38093.zip |
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> (cherry picked from commit 8cfa4ecff21adf226984f135aa576dd8063bbba3)
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 0896dc5755..3c66a4638e 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)) |