MAP_FILE is the default on mmap now, and is no longer defined just
like on a sun, so #define it to be 0 if we are running BSD >=199306.
This commit is contained in:
parent
cd9681ffd1
commit
f46145aa78
@ -55,7 +55,14 @@ int _callmain();
|
||||
#define MAP_COPY MAP_PRIVATE
|
||||
#define MAP_FILE 0
|
||||
#define MAP_ANON 0
|
||||
#endif
|
||||
#else
|
||||
#ifdef BSD
|
||||
#if BSD>=199306
|
||||
#define MAP_FILE 0
|
||||
#endif /* BSD>=199306 */
|
||||
#endif /* BSD */
|
||||
#endif /* sun */
|
||||
|
||||
#include <link.h>
|
||||
|
||||
extern struct _dynamic _DYNAMIC;
|
||||
|
Loading…
Reference in New Issue
Block a user