aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1994-04-12 03:54:36 +0000
committerRichard M. Stallman1994-04-12 03:54:36 +0000
commitcd9e76eae2ca88c416ab3af97651e938d4c6f54a (patch)
treeb679bde69e69ef738717074f25041ed1c22fc42d /src
parent92ea836df147a9418705d3b8ee14bef25691740a (diff)
downloademacs-cd9e76eae2ca88c416ab3af97651e938d4c6f54a.tar.gz
emacs-cd9e76eae2ca88c416ab3af97651e938d4c6f54a.zip
(LD_SWITCH_SYSTEM): Alternate definition if __GNUC__.
Diffstat (limited to 'src')
-rw-r--r--src/s/sunos4-0.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/s/sunos4-0.h b/src/s/sunos4-0.h
index a0cba915cc9..6625785d859 100644
--- a/src/s/sunos4-0.h
+++ b/src/s/sunos4-0.h
@@ -5,7 +5,11 @@
5#define O_NDELAY FNDELAY /* Non-blocking I/O (4.2 style) */ 5#define O_NDELAY FNDELAY /* Non-blocking I/O (4.2 style) */
6#endif 6#endif
7 7
8#ifdef __GNUC__
9#define LD_SWITCH_SYSTEM -e __start -static
10#else
8#define LD_SWITCH_SYSTEM -e __start -Bstatic 11#define LD_SWITCH_SYSTEM -e __start -Bstatic
12#endif
9 13
10/* In SunOS 4.1, a static function called by tzsetwall reportedly 14/* In SunOS 4.1, a static function called by tzsetwall reportedly
11 clears the byte just past an eight byte region it mallocs, corrupting 15 clears the byte just past an eight byte region it mallocs, corrupting