mirror of
https://gitlab.com/80486DX2-66/gists
synced 2024-11-08 18:02:23 +05:30
safe_mem.h: add missing inclusions of string.h
This commit is contained in:
parent
c2b3caf728
commit
324d23d6a6
@ -43,10 +43,13 @@
|
||||
# define NO_SECURE_ERASE_WARRANTY 0
|
||||
# define SECURE_ERASE_WARRANTY "C11+: memset_s"
|
||||
|
||||
# include <string.h>
|
||||
# define secure_erase(dest, count) memset_s(dest, count, 0, count)
|
||||
#else
|
||||
# define NO_SECURE_ERASE_WARRANTY 1
|
||||
|
||||
# include <string.h>
|
||||
|
||||
# define __observe__(ptr) do { \
|
||||
if (*ptr == 0) { \
|
||||
++(*ptr); \
|
||||
|
Loading…
Reference in New Issue
Block a user