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:
Rodney W. Grimes 1994-05-28 13:59:16 +00:00
parent cd9681ffd1
commit f46145aa78

View File

@ -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;