# HG changeset patch # User Richard M. Stallman # Date 764367486 0 # Node ID 53c14a4f9307e78f5dfea1e3d2e4300ab927e4c4 # Parent 4b3c537e11694684e0c2e130f02c3e4ab77216d0 (__do_global_ctors, __do_global_ctors_aux) (__do_global_dtors): Don't define if GCC_CTORS_IN_LIBC. (__CTOR_LIST__, __DTOR_LIST__): Likewise. diff -r 4b3c537e1169 -r 53c14a4f9307 src/emacs.c --- 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__ */