diff options
| author | Richard M. Stallman | 1993-08-14 07:34:28 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-08-14 07:34:28 +0000 |
| commit | 64c1864a888892a2e688c5b02cc605f5b19ec08c (patch) | |
| tree | 764864a31313e3f1a05c9c866c057febef814917 /src | |
| parent | 4601350064e3ff852f1b7a179feeab066df59768 (diff) | |
| download | emacs-64c1864a888892a2e688c5b02cc605f5b19ec08c.tar.gz emacs-64c1864a888892a2e688c5b02cc605f5b19ec08c.zip | |
(__CTOR_LIST__): Don't declare it on Linux.
Diffstat (limited to 'src')
| -rw-r--r-- | src/emacs.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/emacs.c b/src/emacs.c index ca03da1608a..a7b184d8b69 100644 --- a/src/emacs.c +++ b/src/emacs.c | |||
| @@ -222,7 +222,10 @@ __do_global_ctors_aux () | |||
| 222 | {} | 222 | {} |
| 223 | __do_global_dtors () | 223 | __do_global_dtors () |
| 224 | {} | 224 | {} |
| 225 | /* Linux has a bug in its library; avoid an error. */ | ||
| 226 | #ifndef LINUX | ||
| 225 | char * __CTOR_LIST__[2] = { (char *) (-1), 0 }; | 227 | char * __CTOR_LIST__[2] = { (char *) (-1), 0 }; |
| 228 | #endif | ||
| 226 | char * __DTOR_LIST__[2] = { (char *) (-1), 0 }; | 229 | char * __DTOR_LIST__[2] = { (char *) (-1), 0 }; |
| 227 | __main () | 230 | __main () |
| 228 | {} | 231 | {} |