1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-01 08:17:38 +00:00

(__do_global_ctors, __do_global_ctors_aux)

(__do_global_dtors): Don't define if GCC_CTORS_IN_LIBC.
(__CTOR_LIST__, __DTOR_LIST__): Likewise.
This commit is contained in:
Richard M. Stallman 1994-03-22 20:18:06 +00:00
parent 6b6e798bb3
commit 46e65b73de

View File

@ -318,6 +318,7 @@ extern noshare char **environ;
Provide dummy definitions to avoid error.
(We don't have any real constructors or destructors.) */
#ifdef __GNUC__
#ifndef GCC_CTORS_IN_LIBC
__do_global_ctors ()
{}
__do_global_ctors_aux ()
@ -329,6 +330,7 @@ __do_global_dtors ()
char * __CTOR_LIST__[2] = { (char *) (-1), 0 };
#endif
char * __DTOR_LIST__[2] = { (char *) (-1), 0 };
#endif /* GCC_CTORS_IN_LIBC */
__main ()
{}
#endif /* __GNUC__ */