Mercurial > emacs
changeset 1061:06b98c795200
(__do_global_ctors, __do_global_ctors_aux): New dummy fns.
(__CTOR_LIST__, __DTOR_LIST__): New dummy variables.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 31 Aug 1992 18:00:11 +0000 |
parents | af78c65921c8 |
children | 35cc957d83d4 |
files | src/emacs.c |
diffstat | 1 files changed, 13 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/emacs.c Mon Aug 31 08:32:48 1992 +0000 +++ b/src/emacs.c Mon Aug 31 18:00:11 1992 +0000 @@ -183,6 +183,19 @@ #endif /* LINK_CRTL_SHARE */ #endif /* VMS */ +/* We don't include crtbegin.o and crtend.o in the link, + so these functions and variables might be missed. + Provide dummy definitions to avoid error. + (We don't have any real constructors or destructors.) */ +#ifdef __GNUC__ +__do_clobal_ctors () +{} +__do_clobal_ctors_aux () +{} +char * __CTOR_LIST__[1] = { (char *) (-1) }; +char * __DTOR_LIST__[1] = { (char *) (-1) }; +#endif /* __GNUC__ */ + /* ARGSUSED */ main (argc, argv, envp) int argc;