From: Richard M. Stallman Date: Sat, 14 Aug 1993 07:34:28 +0000 (+0000) Subject: (__CTOR_LIST__): Don't declare it on Linux. X-Git-Tag: emacs-19.34~11232 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=64c1864a888892a2e688c5b02cc605f5b19ec08c;p=emacs.git (__CTOR_LIST__): Don't declare it on Linux. --- 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 () {}