Opened 3 years ago
Last modified 5 months ago
#64195 assigned defect
ngs: malloc.c:22:87: error: use of undeclared identifier 'MAP_ANONYMOUS'
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | herbygillot (Herby Gillot) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.1 |
Keywords: | mavericks | Cc: | |
Port: | ngs |
Description
malloc.c:22:87: error: use of undeclared identifier 'MAP_ANONYMOUS'
On older systems, MAP_ANONYMOUS
was called MAP_ANON
. You could add a simple:
#ifndef MAP_ANONYMOUS #define MAP_ANONYMOUS MAP_ANON #endif
Or I think legacysupport might do it for you too.
Change History (2)
comment:1 Changed 2 years ago by barracuda156
comment:2 Changed 5 months ago by ryandesign (Ryan Carsten Schmidt)
Please do create a separate ticket for your pandoc question; it has nothing to do with this ticket which is exclusively about MAP_ANONYMOUS
.
Since nothing has happened with the MAP_ANONYMOUS
issue I've now filed it upstream: https://github.com/ngs-lang/ngs/issues/665
Note: See
TracTickets for help on using
tickets.
Not to create a separate ticket: is
pandoc
required forngs
to function or only to build documentation? It introduces dependency onstack
, which is currently broken for older OSs. Ifpandoc
dependency is not essential, it makes sense perhaps to make it conditional, and fix building the port for PPC and older Intel.