aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1994-03-22 20:18:06 +0000
committerRichard M. Stallman1994-03-22 20:18:06 +0000
commit46e65b73dead08a6f008db4c7e8b2647a9b9ac56 (patch)
treea0ffaf9f663f12f43a63cb2c11b0690e9bb8b169 /src
parent6b6e798bb363882ac2aa1f91255ade8574977a38 (diff)
downloademacs-46e65b73dead08a6f008db4c7e8b2647a9b9ac56.tar.gz
emacs-46e65b73dead08a6f008db4c7e8b2647a9b9ac56.zip
(__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.c2
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;
318 Provide dummy definitions to avoid error. 318 Provide dummy definitions to avoid error.
319 (We don't have any real constructors or destructors.) */ 319 (We don't have any real constructors or destructors.) */
320#ifdef __GNUC__ 320#ifdef __GNUC__
321#ifndef GCC_CTORS_IN_LIBC
321__do_global_ctors () 322__do_global_ctors ()
322{} 323{}
323__do_global_ctors_aux () 324__do_global_ctors_aux ()
@@ -329,6 +330,7 @@ __do_global_dtors ()
329char * __CTOR_LIST__[2] = { (char *) (-1), 0 }; 330char * __CTOR_LIST__[2] = { (char *) (-1), 0 };
330#endif 331#endif
331char * __DTOR_LIST__[2] = { (char *) (-1), 0 }; 332char * __DTOR_LIST__[2] = { (char *) (-1), 0 };
333#endif /* GCC_CTORS_IN_LIBC */
332__main () 334__main ()
333{} 335{}
334#endif /* __GNUC__ */ 336#endif /* __GNUC__ */