From f46145aa789a6b016fadf110cada55c1d2965594 Mon Sep 17 00:00:00 2001 From: "Rodney W. Grimes" Date: Sat, 28 May 1994 13:59:16 +0000 Subject: [PATCH] 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. --- lib/csu/i386/crt0.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/csu/i386/crt0.c b/lib/csu/i386/crt0.c index 38fd64c6b23d..3158edefd94d 100644 --- a/lib/csu/i386/crt0.c +++ b/lib/csu/i386/crt0.c @@ -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 extern struct _dynamic _DYNAMIC;