]> git.eshelyaron.com Git - emacs.git/commitdiff
(__CTOR_LIST__): Don't declare it on Linux.
authorRichard M. Stallman <rms@gnu.org>
Sat, 14 Aug 1993 07:34:28 +0000 (07:34 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 14 Aug 1993 07:34:28 +0000 (07:34 +0000)
src/emacs.c

index ca03da1608ab4656b2109608320d528c8317bbcd..a7b184d8b69b90290257d55ded4a46ffec890441 100644 (file)
@@ -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 ()
 {}