[Date Prev][Date Next]
Re: (ITS#3445) HEAD fails to build on Windows (zn_malloc)
I undef'd SLAP_ZONE_ALLOC because we don't have configure test yet.
Looks like #include <sys/mman.h> caused the build problem - I'll move that
to within the macro for now.
----- Original Message -----
Sent: Thursday, December 16, 2004 9:46 AM
Subject: (ITS#3445) HEAD fails to build on Windows (zn_malloc)
> Full_Name: Howard Chu
> Version: HEAD
> OS: Windows XP
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (188.8.131.52)
> Submitted by: hyc
> The file slapd/zn_malloc.c includes <sys/mman.h> and uses mmap/munmap
> calls unconditionally. There needs to be a configure test for their
> #ifdef's around their usage. Some reasonable behavior needs to be present
> platforms where these functions don't exist...