mem_sec.c: portability fixup.
Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Ben Kaduk <kaduk@mit.edu> (Merged from https://github.com/openssl/openssl/pull/5493)
This commit is contained in:
parent
9cbcea7e68
commit
014cc4b27a
1 changed files with 3 additions and 0 deletions
|
@ -45,6 +45,9 @@
|
|||
#ifndef PAGE_SIZE
|
||||
# define PAGE_SIZE 4096
|
||||
#endif
|
||||
#if !defined(MAP_ANON) && defined(MAP_ANONYMOUS)
|
||||
# define MAP_ANON MAP_ANONYMOUS
|
||||
#endif
|
||||
|
||||
#ifdef IMPLEMENTED
|
||||
static size_t secure_mem_used;
|
||||
|
|
Loading…
Reference in a new issue