| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| Date: | Wed, 1 Aug 2007 23:34:43 +0200 |
| From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
| 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 |
| 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 |
| List-Id: | <cygwin.cygwin.com> |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| 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 <sys/mman.h> > 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 <bits/mman.h>, but my > cygwin (cygcheck output attached) lacks /usr/include/bits and even if it > did, <sys/mman.h> does not include <bits/mman.h> > > 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |