diff options
author | Günther Deschner <gd@samba.org> | 2011-04-20 18:21:25 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2011-04-26 20:09:07 +0200 |
commit | d83a44d7f3220f4d06e4c85dbef9e7419ce84f73 (patch) | |
tree | 92d341efdef86bec00af3a345aa8f177ba27dc1c | |
parent | 6dd8807b86bb975b5c64df6c20eba4a2ddf591bb (diff) | |
download | samba-d83a44d7f3220f4d06e4c85dbef9e7419ce84f73.tar.gz |
s3-build: move MAP_FILE define to the only place used.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Wed Apr 20 19:16:47 CEST 2011 on sn-devel-104
(cherry picked from commit 0b89ce671250daddc86400ef4e1996c37c126025)
(cherry picked from commit c65b54c8ee1b9c1982eb81a1d7fa43ae46c0a378)
-rw-r--r-- | source3/include/includes.h | 4 | ||||
-rw-r--r-- | 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 536dc45d7cf..54459a5513e 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; |