aboutsummaryrefslogtreecommitdiffstats
path: root/src/s
diff options
context:
space:
mode:
authorJuanma Barranquero2010-04-21 02:17:02 +0200
committerJuanma Barranquero2010-04-21 02:17:02 +0200
commit91eac4bb57f50a69306a28f9e2363695d2f8e146 (patch)
tree750d5554e25712ddc2bc01b90278e03951f677c6 /src/s
parent938efb776d77693c876fb32f63f4e9ca72666da2 (diff)
downloademacs-91eac4bb57f50a69306a28f9e2363695d2f8e146.tar.gz
emacs-91eac4bb57f50a69306a28f9e2363695d2f8e146.zip
Don't depend on cm.c or termcap.c on Windows, use stubs.
* makefile.w32-in (OBJ1): Remove cm.$(O) and termcap.$(O). ($(BLD)/cm.$(O), $(BLD)/termcap.$(O)): Remove. * w32console.c (current_tty, cost): New vars; lifted from cm.c. (evalcost, cmputc, cmcheckmagic, cmcostinit, cmgoto, Wcm_clear) (sys_tputs, sys_tgetstr): New stubs. * s/ms-w32.h (chcheckmagic, cmcostinit, cmgoto, cmputc, Wcm_clear) (tputs, tgetstr): New; define to sys_*.
Diffstat (limited to 'src/s')
-rw-r--r--src/s/ms-w32.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/s/ms-w32.h b/src/s/ms-w32.h
index 3e5c65eaab5..66aae334b3f 100644
--- a/src/s/ms-w32.h
+++ b/src/s/ms-w32.h
@@ -260,6 +260,17 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
260#define kill sys_kill 260#define kill sys_kill
261#define signal sys_signal 261#define signal sys_signal
262 262
263/* termcap.c calls that are emulated */
264#define tputs sys_tputs
265#define tgetstr sys_tgetstr
266
267/* cm.c calls that are emulated */
268#define chcheckmagic sys_chcheckmagic
269#define cmcostinit sys_cmcostinit
270#define cmgoto sys_cmgoto
271#define cmputc sys_cmputc
272#define Wcm_clear sys_Wcm_clear
273
263#endif /* emacs */ 274#endif /* emacs */
264 275
265/* map to MSVC names */ 276/* map to MSVC names */