aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index 581afdbc9..6ca99fa53 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -4534,7 +4534,7 @@ static void unixUnmapfile(unixFile *pFd){
static int unixGetPagesize(void){
#if HAVE_MREMAP
return 512;
-#elif _BSD_SOURCE
+#elif defined(_BSD_SOURCE)
return getpagesize();
#else
return (int)sysconf(_SC_PAGESIZE);