diff options
author | Richard M. Stallman <rms@gnu.org> | 1994-03-22 20:18:06 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1994-03-22 20:18:06 +0000 |
commit | 46e65b73dead08a6f008db4c7e8b2647a9b9ac56 (patch) | |
tree | a0ffaf9f663f12f43a63cb2c11b0690e9bb8b169 /src | |
parent | 6b6e798bb363882ac2aa1f91255ade8574977a38 (diff) | |
download | emacs-46e65b73dead08a6f008db4c7e8b2647a9b9ac56.tar.gz |
(__do_global_ctors, __do_global_ctors_aux)
(__do_global_dtors): Don't define if GCC_CTORS_IN_LIBC.
(__CTOR_LIST__, __DTOR_LIST__): Likewise.
Diffstat (limited to 'src')
-rw-r--r-- | src/emacs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emacs.c b/src/emacs.c index 1a581d4e2cc..34b98f07119 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -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__ */ |