diff options
| author | Richard M. Stallman | 1994-03-22 20:18:06 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-03-22 20:18:06 +0000 |
| commit | 46e65b73dead08a6f008db4c7e8b2647a9b9ac56 (patch) | |
| tree | a0ffaf9f663f12f43a63cb2c11b0690e9bb8b169 /src | |
| parent | 6b6e798bb363882ac2aa1f91255ade8574977a38 (diff) | |
| download | emacs-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.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; | |||
| 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 () | |||
| 329 | char * __CTOR_LIST__[2] = { (char *) (-1), 0 }; | 330 | char * __CTOR_LIST__[2] = { (char *) (-1), 0 }; |
| 330 | #endif | 331 | #endif |
| 331 | char * __DTOR_LIST__[2] = { (char *) (-1), 0 }; | 332 | char * __DTOR_LIST__[2] = { (char *) (-1), 0 }; |
| 333 | #endif /* GCC_CTORS_IN_LIBC */ | ||
| 332 | __main () | 334 | __main () |
| 333 | {} | 335 | {} |
| 334 | #endif /* __GNUC__ */ | 336 | #endif /* __GNUC__ */ |