Commit 72279493 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Improve MS-Windows related commentary and log entry for 2012-08-19T21:00:09Z!

parent 487a247f
......@@ -42,6 +42,8 @@
Rely on <config.h> + <unistd.h> to declare 'environ',
as gnulib does this if the system doesn't.
* callproc.c, editfns.c, process.c (environ) [!USE_CRT_DLL]:
Remove declaration. MS-Windows declares it on stdlib.h which is
included by conf_post.h.
* emacs.c (environ) [DOUG_LEA_MALLOC]:
* vm-limit.c (environ) [ORDINARY_LINK]: Remove decl.
* vm-limit.c: Include <unistd.h>, for 'environ'.
......@@ -178,6 +178,9 @@ You lose; /* Emacs for DOS must be compiled with DJGPP */
#include <string.h>
/* If you think about removing the line below, note that the
MS-Windows build relies on it for declaration of 'environ' needed
by a few source files. */
#include <stdlib.h>
#if __GNUC__ >= 3 /* On GCC 3.0 we might get a warning. */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment