[Date Prev][Date Next] [Chronological] [Thread] [Top]

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.
- Jong-Hyuk

----- Original Message ----- 
From: <hyc@OpenLDAP.org>
To: <openldap-its@OpenLDAP.org>
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) (194.230.238.25)
> Submitted by: hyc
>
>
> The file slapd/zn_malloc.c includes <sys/mman.h> and uses mmap/munmap
system
> calls unconditionally. There needs to be a configure test for their
presence and
> #ifdef's around their usage. Some reasonable behavior needs to be present
for
> platforms where these functions don't exist...
>
>
>
>