Mercurial > emacs
diff src/emacs.c @ 31094:7949e7792b02
(malloc_initialize_hook) [USE_CRT_DLL]: Remove
unnecessary extern, which screws up dllimport attributes.
(main): Ditto.
author | Andrew Innes <andrewi@gnu.org> |
---|---|
date | Tue, 22 Aug 2000 22:16:41 +0000 |
parents | 34cac3323036 |
children | 7930c46bb365 |
line wrap: on
line diff
--- a/src/emacs.c Tue Aug 22 22:14:00 2000 +0000 +++ b/src/emacs.c Tue Aug 22 22:16:41 2000 +0000 @@ -660,7 +660,9 @@ static void malloc_initialize_hook () { +#ifndef USE_CRT_DLL extern char **environ; +#endif if (initialized) { @@ -705,8 +707,10 @@ char stack_bottom_variable; int do_initial_setlocale; int skip_args = 0; +#ifndef USE_CRT_DLL extern int errno; extern int sys_nerr; +#endif #ifdef HAVE_SETRLIMIT struct rlimit rlim; #endif