Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
72279493
Commit
72279493
authored
Aug 20, 2012
by
Eli Zaretskii
Browse files
Improve MS-Windows related commentary and log entry for 2012-08-19T21:00:09Z!eggert@cs.ucla.edu.
parent
487a247f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
src/ChangeLog
src/ChangeLog
+2
-0
src/conf_post.h
src/conf_post.h
+3
-0
No files found.
src/ChangeLog
View file @
72279493
...
...
@@ -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'.
...
...
src/conf_post.h
View file @
72279493
...
...
@@ -178,6 +178,9 @@ You lose; /* Emacs for DOS must be compiled with DJGPP */
#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. */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment