# HG changeset patch # User Richard M. Stallman # Date 766122876 0 # Node ID 584da439d8b1a52ac72f334f62fdbb8c932861a1 # Parent 0d592cff389fc2eabef5ba11abf4aeca44fe1f1c (LD_SWITCH_SYSTEM): Alternate definition if __GNUC__. diff -r 0d592cff389f -r 584da439d8b1 src/s/sunos4-0.h --- a/src/s/sunos4-0.h Tue Apr 12 03:25:32 1994 +0000 +++ b/src/s/sunos4-0.h Tue Apr 12 03:54:36 1994 +0000 @@ -5,7 +5,11 @@ #define O_NDELAY FNDELAY /* Non-blocking I/O (4.2 style) */ #endif +#ifdef __GNUC__ +#define LD_SWITCH_SYSTEM -e __start -static +#else #define LD_SWITCH_SYSTEM -e __start -Bstatic +#endif /* In SunOS 4.1, a static function called by tzsetwall reportedly clears the byte just past an eight byte region it mallocs, corrupting