diff options
Diffstat (limited to '')
-rw-r--r-- | src/regress/lib/libc/explicit_bzero/explicit_bzero.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/regress/lib/libc/explicit_bzero/explicit_bzero.c b/src/regress/lib/libc/explicit_bzero/explicit_bzero.c index 496bafb208..30c86290e8 100644 --- a/src/regress/lib/libc/explicit_bzero/explicit_bzero.c +++ b/src/regress/lib/libc/explicit_bzero/explicit_bzero.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: explicit_bzero.c,v 1.9 2022/02/10 08:39:32 tb Exp $ */ | 1 | /* $OpenBSD: explicit_bzero.c,v 1.10 2025/05/31 15:31:40 tb Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Google Inc. | 3 | * Copyright (c) 2014 Google Inc. |
4 | * | 4 | * |
@@ -28,9 +28,11 @@ | |||
28 | 28 | ||
29 | #if defined(__has_feature) | 29 | #if defined(__has_feature) |
30 | #if __has_feature(address_sanitizer) | 30 | #if __has_feature(address_sanitizer) |
31 | #ifndef __SANITIZE_ADDRESS__ | ||
31 | #define __SANITIZE_ADDRESS__ | 32 | #define __SANITIZE_ADDRESS__ |
32 | #endif | 33 | #endif |
33 | #endif | 34 | #endif |
35 | #endif | ||
34 | #ifdef __SANITIZE_ADDRESS__ | 36 | #ifdef __SANITIZE_ADDRESS__ |
35 | #define ATTRIBUTE_NO_SANITIZE_ADDRESS __attribute__((no_sanitize_address)) | 37 | #define ATTRIBUTE_NO_SANITIZE_ADDRESS __attribute__((no_sanitize_address)) |
36 | #else | 38 | #else |