[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r109701: Improve MS-Windows related c
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r109701: Improve MS-Windows related commentary and log entry for revision 109685. |
Date: |
Mon, 20 Aug 2012 19:48:10 +0300 |
User-agent: |
Bazaar (2.5.0) |
------------------------------------------------------------
revno: 109701
committer: Eli Zaretskii <address@hidden>
branch nick: trunk
timestamp: Mon 2012-08-20 19:48:10 +0300
message:
Improve MS-Windows related commentary and log entry for revision 109685.
modified:
src/ChangeLog
src/conf_post.h
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2012-08-20 09:39:57 +0000
+++ b/src/ChangeLog 2012-08-20 16:48:10 +0000
@@ -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'.
=== modified file 'src/conf_post.h'
--- a/src/conf_post.h 2012-08-10 18:23:45 +0000
+++ b/src/conf_post.h 2012-08-20 16:48:10 +0000
@@ -178,6 +178,9 @@
#endif
#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. */
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r109701: Improve MS-Windows related commentary and log entry for revision 109685.,
Eli Zaretskii <=