summaryrefslogtreecommitdiffstats
path: root/source/lib/system.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/lib/system.c')
-rw-r--r--source/lib/system.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/lib/system.c b/source/lib/system.c
index c1e4aa5122c..9655abd9b9e 100644
--- a/source/lib/system.c
+++ b/source/lib/system.c
@@ -277,7 +277,7 @@ FILE *sys_fopen(const char *path, const char *type)
#endif
}
-#if defined(HAVE_SHARED_MMAP)
+#if defined(HAVE_MMAP)
/*******************************************************************
An mmap() wrapper that will deal with 64 bit filesizes.
@@ -292,7 +292,7 @@ void *sys_mmap(void *addr, size_t len, int prot, int flags, int fd, SMB_OFF_T of
#endif
}
-#endif /* HAVE_SHARED_MMAP */
+#endif /* HAVE_MMAP */
/*******************************************************************
A readdir wrapper that will deal with 64 bit filesizes.