raindrops RubyGem user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: Eric Wong <normalperson@yhbt.net>
To: raindrops@librelist.com
Subject: Re: Build failed on FreeBSD
Date: Wed, 13 Apr 2011 17:30:56 -0700	[thread overview]
Message-ID: <20110414003056.GA7208@dcvr.yhbt.net> (raw)
In-Reply-To: 4DA62A21.6020004@mrtech.ru

Troex Nevelin <list@mrtech.ru> wrote:
> raindrops.c: In function 'init':
> raindrops.c:105: error: 'MAP_ANON' undeclared (first use in this function)
> raindrops.c:105: error: (Each undeclared identifier is reported only once
> raindrops.c:105: error: for each function it appears in.)
> *** Error code 1

Really?  Does replacing MAP_ANON with MAP_ANONYMOUS fix it?

I chose MAP_ANON because I thought it'd also work on *BSDs.  What a
strange turn of events...

MAP_ANON is actually deprecated in Linux and synonymous to MAP_ANONYMOUS

-- 
Eric Wong


  reply	other threads:[~2011-04-14  1:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-13 22:56 Build failed on FreeBSD Troex Nevelin
2011-04-14  0:30 ` Eric Wong [this message]
2011-06-23 14:08   ` Troex Nevelin
2011-06-24  8:08     ` Eric Wong
2011-06-25  0:19       ` Eric Wong
2011-06-27 10:00         ` Troex Nevelin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://yhbt.net/raindrops/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110414003056.GA7208@dcvr.yhbt.net \
    --to=normalperson@yhbt.net \
    --cc=raindrops@librelist.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhbt.net/raindrops.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).