Mercurial > emacs
changeset 6467:53c14a4f9307
(__do_global_ctors, __do_global_ctors_aux)
(__do_global_dtors): Don't define if GCC_CTORS_IN_LIBC.
(__CTOR_LIST__, __DTOR_LIST__): Likewise.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 22 Mar 1994 20:18:06 +0000 |
parents | 4b3c537e1169 |
children | b0c731997544 |
files | src/emacs.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/emacs.c Tue Mar 22 20:17:17 1994 +0000 +++ b/src/emacs.c Tue Mar 22 20:18:06 1994 +0000 @@ -318,6 +318,7 @@ 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 @@ char * __CTOR_LIST__[2] = { (char *) (-1), 0 }; #endif char * __DTOR_LIST__[2] = { (char *) (-1), 0 }; +#endif /* GCC_CTORS_IN_LIBC */ __main () {} #endif /* __GNUC__ */