From 0b89ce671250daddc86400ef4e1996c37c126025 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Wed, 20 Apr 2011 18:21:25 +0200 Subject: [PATCH] s3-build: move MAP_FILE define to the only place used. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Guenther Autobuild-User: Günther Deschner Autobuild-Date: Wed Apr 20 19:16:47 CEST 2011 on sn-devel-104 --- source3/include/includes.h | 4 ---- source3/modules/vfs_aio_fork.c | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/source3/include/includes.h b/source3/include/includes.h index 1dac73a168e..a76942faad5 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -580,10 +580,6 @@ enum flush_reason_enum { #define SIGRTMIN NSIG #endif -#ifndef MAP_FILE -#define MAP_FILE 0 -#endif - #if defined(HAVE_PUTPRPWNAM) && defined(AUTH_CLEARTEXT_SEG_CHARS) #define OSF1_ENH_SEC 1 #endif diff --git a/source3/modules/vfs_aio_fork.c b/source3/modules/vfs_aio_fork.c index 881bc51eb23..41b5a89dd29 100644 --- a/source3/modules/vfs_aio_fork.c +++ b/source3/modules/vfs_aio_fork.c @@ -24,6 +24,10 @@ #include "system/shmem.h" #include "smbd/smbd.h" +#ifndef MAP_FILE +#define MAP_FILE 0 +#endif + struct mmap_area { size_t size; volatile void *ptr; -- 2.11.4.GIT