diff options
| author | jvoisin | 2025-12-30 11:33:08 +0100 |
|---|---|---|
| committer | Julien Voisin | 2025-12-30 11:34:48 +0100 |
| commit | eec2b5e06bdb01d20f1a1125074a379e0b154d80 (patch) | |
| tree | faf6d8ef8a04967044c31ac2c7b600ef8ce9a7ec /include/stdlib.h | |
| parent | c4c5fd41124f38a5afee02b8f604ddc21d3b199a (diff) | |
Change __warning_if into __fortify_warning_if to fix potential conflicts3.0.1
Diffstat (limited to '')
| -rw-r--r-- | include/stdlib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stdlib.h b/include/stdlib.h index aeed102..0336d56 100644 --- a/include/stdlib.h +++ b/include/stdlib.h | |||
| @@ -39,7 +39,7 @@ extern "C" { | |||
| 39 | /* FIXME clang */ | 39 | /* FIXME clang */ |
| 40 | #if (defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)) && !defined(__clang__) | 40 | #if (defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)) && !defined(__clang__) |
| 41 | #undef realpath | 41 | #undef realpath |
| 42 | __warning_if(__p == NULL, "'realpath' called with path set to `NULL`; did you invert the arguments?") | 42 | __fortify_warning_if(__p == NULL, "'realpath' called with path set to `NULL`; did you invert the arguments?") |
| 43 | _FORTIFY_FN(realpath) char *realpath(const char *__p, char *__r) | 43 | _FORTIFY_FN(realpath) char *realpath(const char *__p, char *__r) |
| 44 | { | 44 | { |
| 45 | #ifndef PATH_MAX | 45 | #ifndef PATH_MAX |
