From 471e2a8583090ae65804214e959f2872118afeb3 Mon Sep 17 00:00:00 2001 From: Intel A80486DX2-66 Date: Sun, 24 Mar 2024 19:45:53 +0300 Subject: [PATCH] safe_mem.h: simplify `#if defined(...)` to `#ifdef ...` --- 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 1b1f47e..7bfea95 100644 --- a/c-programming/mem/safe_mem.h +++ b/c-programming/mem/safe_mem.h @@ -27,7 +27,7 @@ malloc((size_t) nmemb * (size_t) size) /* secure_erase(dest, count): erases memory explicitly */ -#if defined(__FreeBSD__) +#ifdef __FreeBSD__ # define NO_SECURE_ERASE_WARRANTY 0 # define SECURE_ERASE_WARRANTY "OpenBSD/FreeBSD: explicit_bzero"