X-Spam-Check-By: sourceware.org Date: Wed, 1 Aug 2007 23:34:43 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: sys/mman.h missing MCL_CURRENT ... Message-ID: <20070801213443.GQ13674@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <570946 DOT 1241 DOT qm AT web50603 DOT mail DOT re2 DOT yahoo DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <570946.1241.qm@web50603.mail.re2.yahoo.com> User-Agent: Mutt/1.4.2.2i Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Aug 1 14:13, Fred Hansen wrote: > A program I am trying to port to cygwin does > #include > and later calls mlockall, which is defined in mman.h: > mlockall(MCL_CURRENT | MCL_FUTURE); > > HOWEVER, MCL_CURRENT and MCL_FUTURE are undefined. So the build fails. > > In other systems MCL_... are defined in , but my > cygwin (cygcheck output attached) lacks /usr/include/bits and even if it > did, does not include > > Is there some package I am supposed to have added to cygwin to get > definitions for MCL_CURRENT, etc? I have almost all the packages. mlockall/munlockall are not supported by Cygwin so there's no reason to define these values. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/