aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1993-08-14 07:34:28 +0000
committerRichard M. Stallman1993-08-14 07:34:28 +0000
commit64c1864a888892a2e688c5b02cc605f5b19ec08c (patch)
tree764864a31313e3f1a05c9c866c057febef814917 /src
parent4601350064e3ff852f1b7a179feeab066df59768 (diff)
downloademacs-64c1864a888892a2e688c5b02cc605f5b19ec08c.tar.gz
emacs-64c1864a888892a2e688c5b02cc605f5b19ec08c.zip
(__CTOR_LIST__): Don't declare it on Linux.
Diffstat (limited to 'src')
-rw-r--r--src/emacs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/emacs.c b/src/emacs.c
index ca03da1608a..a7b184d8b69 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -222,7 +222,10 @@ __do_global_ctors_aux ()
222{} 222{}
223__do_global_dtors () 223__do_global_dtors ()
224{} 224{}
225/* Linux has a bug in its library; avoid an error. */
226#ifndef LINUX
225char * __CTOR_LIST__[2] = { (char *) (-1), 0 }; 227char * __CTOR_LIST__[2] = { (char *) (-1), 0 };
228#endif
226char * __DTOR_LIST__[2] = { (char *) (-1), 0 }; 229char * __DTOR_LIST__[2] = { (char *) (-1), 0 };
227__main () 230__main ()
228{} 231{}