aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ChangeLog18
-rw-r--r--lib-src/emacsclient.c4
-rw-r--r--lib-src/make-docfile.c4
-rw-r--r--lib-src/makefile.w32-in2
4 files changed, 25 insertions, 3 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index 983754eb1c3..1eb67eb6c71 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,3 +1,19 @@
12011-11-30 Chong Yidong <cyd@gnu.org>
2
3 * emacsclient.c (main): Condition last change on WINDOWSNT
4 (Bug#10155).
5
62011-11-27 Eli Zaretskii <eliz@gnu.org>
7
8 * makefile.w32-in (LOCAL_FLAGS): Add $(EMACS_EXTRA_C_FLAGS).
9
10 * emacsclient.c (main) <environ>: Remove declaration, already
11 pulled in by unistd.h on Posix hosts and stdlib.h on MS-Windows.
12
132011-11-24 Glenn Morris <rgm@gnu.org>
14
15 * make-docfile.c (scan_lisp_file): Treat defcustom like defvar.
16
12011-11-14 Dan Nicolaescu <dann@ics.uci.edu> 172011-11-14 Dan Nicolaescu <dann@ics.uci.edu>
2 18
3 * Makefile.in (all): Make sure "all" is the first target. 19 * Makefile.in (all): Make sure "all" is the first target.
@@ -4267,7 +4283,7 @@
4267 4283
42681998-12-08 Geoff Voelker <voelker@cs.washington.edu> 42841998-12-08 Geoff Voelker <voelker@cs.washington.edu>
4269 4285
4270 * makefile.nt: Do string comparision of _NMAKE_VER. 4286 * makefile.nt: Do string comparison of _NMAKE_VER.
4271 4287
42721998-11-03 Theodore Jump <tjump@cais.com> 42881998-11-03 Theodore Jump <tjump@cais.com>
4273 4289
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c
index 56e17c100be..0ae1f0bddea 100644
--- a/lib-src/emacsclient.c
+++ b/lib-src/emacsclient.c
@@ -1635,7 +1635,11 @@ main (int argc, char **argv)
1635 /* Send over our environment and current directory. */ 1635 /* Send over our environment and current directory. */
1636 if (!current_frame) 1636 if (!current_frame)
1637 { 1637 {
1638#ifndef WINDOWSNT
1639 /* This is defined in stdlib.h on MS-Windows. It's defined in
1640 unistd.h on some POSIX hosts, but not all (Bug#10155). */
1638 extern char **environ; 1641 extern char **environ;
1642#endif
1639 int i; 1643 int i;
1640 for (i = 0; environ[i]; i++) 1644 for (i = 0; environ[i]; i++)
1641 { 1645 {
diff --git a/lib-src/make-docfile.c b/lib-src/make-docfile.c
index ba54202954b..1ec365f3446 100644
--- a/lib-src/make-docfile.c
+++ b/lib-src/make-docfile.c
@@ -1149,8 +1149,10 @@ scan_lisp_file (const char *filename, const char *mode)
1149 } 1149 }
1150 } 1150 }
1151 1151
1152 /* defcustom can only occur in uncompiled Lisp files. */
1152 else if (! strcmp (buffer, "defvar") 1153 else if (! strcmp (buffer, "defvar")
1153 || ! strcmp (buffer, "defconst")) 1154 || ! strcmp (buffer, "defconst")
1155 || ! strcmp (buffer, "defcustom"))
1154 { 1156 {
1155 char c1 = 0, c2 = 0; 1157 char c1 = 0, c2 = 0;
1156 type = 'V'; 1158 type = 'V';
diff --git a/lib-src/makefile.w32-in b/lib-src/makefile.w32-in
index 28f913a4df6..be7f4d0b6db 100644
--- a/lib-src/makefile.w32-in
+++ b/lib-src/makefile.w32-in
@@ -23,7 +23,7 @@ ALL = make-docfile hexl ctags etags movemail ebrowse emacsclient
23 23
24LOCAL_FLAGS = -DWINDOWSNT -DDOS_NT -DNO_LDAV=1 \ 24LOCAL_FLAGS = -DWINDOWSNT -DDOS_NT -DNO_LDAV=1 \
25 -DNO_ARCHIVES=1 -DHAVE_CONFIG_H=1 -I../lib \ 25 -DNO_ARCHIVES=1 -DHAVE_CONFIG_H=1 -I../lib \
26 -I../nt/inc -I../src 26 -I../nt/inc -I../src $(EMACS_EXTRA_C_FLAGS)
27 27
28LIBS = $(BASE_LIBS) $(ADVAPI32) 28LIBS = $(BASE_LIBS) $(ADVAPI32)
29 29