diff options
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/compat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/compat.c b/src/common/compat.c index 9e5dca3525..96012e2e01 100644 --- a/src/common/compat.c +++ b/src/common/compat.c @@ -2273,7 +2273,7 @@ tor_mlockall(void) * http://msdn.microsoft.com/en-us/library/aa366895(VS.85).aspx */ -#ifdef HAVE_SYS_MMAN_H +#ifdef HAVE_MLOCKALL ret = tor_set_max_memlock(); if (ret == 0) { /* Perhaps we only want to log this if we're in a verbose mode? */ |