Commit 014cc4b2 authored by Andy Polyakov's avatar Andy Polyakov
Browse files

mem_sec.c: portability fixup.

parent 9cbcea7e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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;