aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/s/msdos.h9
-rw-r--r--src/termcap.c1
3 files changed, 15 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index dea7b2547fd..2b4d60f9189 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
12011-02-19 Eli Zaretskii <eliz@gnu.org>
2
3 * termcap.c (tputs): Don't declare baud_rate.
4
5 * s/msdos.h (strtold): Define to _strtold.
6
12011-02-18 Stefan Monnier <monnier@iro.umontreal.ca> 72011-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
2 8
3 * process.c (Fstart_process, Fmake_serial_process) 9 * process.c (Fstart_process, Fmake_serial_process)
diff --git a/src/s/msdos.h b/src/s/msdos.h
index a1d23521a0a..8debd28dccb 100644
--- a/src/s/msdos.h
+++ b/src/s/msdos.h
@@ -73,6 +73,15 @@ You lose; /* Emacs for DOS must be compiled with DJGPP */
73#define HAVE_INVERSE_HYPERBOLIC 73#define HAVE_INVERSE_HYPERBOLIC
74#define FLOAT_CHECK_DOMAIN 74#define FLOAT_CHECK_DOMAIN
75 75
76/* Start of gnulib-related stuff */
77
78/* lib/ftoastr.c wants strtold, but DJGPP only has _strtold. DJGPP >
79 2.03 has it, but it also has _strtold as a stub that jumps to
80 strtold, so use _strtold in all versions. */
81#define strtold _strtold
82
83/* End of gnulib-related stuff. */
84
76/* When $TERM is "internal" then this is substituted: */ 85/* When $TERM is "internal" then this is substituted: */
77#define INTERNAL_TERMINAL "pc|bios|IBM PC with color display:\ 86#define INTERNAL_TERMINAL "pc|bios|IBM PC with color display:\
78:co#80:li#25:Co#16:pa#256:km:ms:cm=<CM>:cl=<CL>:ce=<CE>:\ 87:co#80:li#25:Co#16:pa#256:km:ms:cm=<CM>:cl=<CL>:ce=<CE>:\
diff --git a/src/termcap.c b/src/termcap.c
index 9e64d027640..69ce56d93b3 100644
--- a/src/termcap.c
+++ b/src/termcap.c
@@ -268,7 +268,6 @@ tputs (register char *str, int nlines, register int (*outfun) (/* ??? */))
268 register int padcount = 0; 268 register int padcount = 0;
269 register int speed; 269 register int speed;
270 270
271 extern EMACS_INT baud_rate;
272 speed = baud_rate; 271 speed = baud_rate;
273 /* For quite high speeds, convert to the smaller 272 /* For quite high speeds, convert to the smaller
274 units to avoid overflow. */ 273 units to avoid overflow. */