larous25 / mupen64plus

Automatically exported from code.google.com/p/mupen64plus
0 stars 0 forks source link

"‘MAP_ANONYMOUS’ undeclared" error when compiling mupen core on OS X #446

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Describe your system:
 - Operating System (be specific): OS X 10.6.8
 - Machine type (32-bit or 64-bit): 64-bit
 - Mupen64Plus version: hg as of July 21, 2011

Describe the problem:

Building the mupen core on OS X fails with "‘MAP_ANONYMOUS’ undeclared". 
(See attachment for complete output.)

Please provide any additional information below.

The issue is solved if the following is added to "src/r4300/recomp.c":

/* Required by some BSDs */
#ifndef  MAP_ANONYMOUS
#ifdef MAP_ANON
#define MAP_ANONYMOUS MAP_ANON
#endif
#endif

Original issue reported on code.google.com by i...@consoleemu.com on 21 Jul 2011 at 2:17

Attachments:

GoogleCodeExporter commented 8 years ago
Committed as 281:cdefbedc3747 in my private repos at bitbucket ( 
https://bitbucket.org/ecsv/mupen64plus-core/ ). Will be merged by Richard42 at 
a later point

Original comment by s...@narfation.org on 23 Jul 2011 at 8:22

GoogleCodeExporter commented 8 years ago
The patch is now merged. Thanks for the bug report

Original comment by s...@narfation.org on 9 Sep 2011 at 7:38