From 64c1864a888892a2e688c5b02cc605f5b19ec08c Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 14 Aug 1993 07:34:28 +0000 Subject: [PATCH] (__CTOR_LIST__): Don't declare it on Linux. --- src/emacs.c | 3 +++ 1 file changed, 3 insertions(+) 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 () {} __do_global_dtors () {} +/* Linux has a bug in its library; avoid an error. */ +#ifndef LINUX char * __CTOR_LIST__[2] = { (char *) (-1), 0 }; +#endif char * __DTOR_LIST__[2] = { (char *) (-1), 0 }; __main () {} -- 2.39.5