diff options
author | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2023-02-02 07:49:02 -0500 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@sourceware.org> | 2023-02-02 07:49:02 -0500 |
commit | 2337e04e21ba6040926ec871e403533f77043c40 (patch) | |
tree | 52f485cbfec3b00b8f74fb3aa76b705b08480749 /sysdeps | |
parent | e0dc827bf6e9882e1531905c61a00c83cc91359d (diff) | |
download | glibc-2337e04e21ba6040926ec871e403533f77043c40.zip glibc-2337e04e21ba6040926ec871e403533f77043c40.tar.gz glibc-2337e04e21ba6040926ec871e403533f77043c40.tar.bz2 |
cdefs: Limit definition of fortification macros
Define the __glibc_fortify and other macros only when __FORTIFY_LEVEL >
0. This has the effect of not defining these macros on older C90
compilers that do not have support for variable length argument lists.
Also trim off the trailing backslashes from the definition of
__glibc_fortify and __glibc_fortify_n macros.
Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Reviewed-by: Florian Weimer <fweimer@redhat.com>
Diffstat (limited to 'sysdeps')
0 files changed, 0 insertions, 0 deletions