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:
Andy Polyakov 2018-03-02 16:50:11 +01:00
parent 9cbcea7e68
commit 014cc4b27a

View file

@ -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;