From 0f40878fbbb281bef5be1e35408cbc8d839e3544 Mon Sep 17 00:00:00 2001 From: Intel A80486DX2-66 Date: Sun, 24 Mar 2024 18:09:40 +0300 Subject: [PATCH] safe_mem.h: fix the condition of `memset_s` availability --- c-programming/mem/safe_mem.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c-programming/mem/safe_mem.h b/c-programming/mem/safe_mem.h index 045a20a..1b1f47e 100644 --- a/c-programming/mem/safe_mem.h +++ b/c-programming/mem/safe_mem.h @@ -39,7 +39,7 @@ # include # define secure_erase SecureZeroMemory -#elif defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L) +#elif __STDC_LIB_EXT1__ # define NO_SECURE_ERASE_WARRANTY 0 # define SECURE_ERASE_WARRANTY "C11+: memset_s"