From 422bfa0288245484f763aca67a851af570cb417e Mon Sep 17 00:00:00 2001 From: Renaud Fivet Date: Sat, 28 Sep 2013 09:40:42 +0800 Subject: [PATCH] Recompile on Linux. --- Makefile | 21 +++++++++++---------- posix.c | 3 +++ 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index ef6b11f..16f33b6 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ -# Makefile for emacs, updated Fri, Sep 20, 2013 3:09:46 PM +# Makefile for emacs, updated Sat Sep 28 09:31:49 CST 2013 -SRC=ansi.c basic.c bind.c bindable.c buffer.c crypt.c display.c ebind.c eval.c exec.c execute.c file.c fileio.c flook.c globals.c ibmpc.c input.c isearch.c line.c lock.c log.c main.c names.c pklock.c posix.c random.c region.c search.c spawn.c tcap.c termio.c utf8.c vmsvt.c vt52.c window.c word.c wrapper.c -OBJ=ansi.o basic.o bind.o bindable.o buffer.o crypt.o display.o ebind.o eval.o exec.o execute.o file.o fileio.o flook.o globals.o ibmpc.o input.o isearch.o line.o lock.o log.o main.o names.o pklock.o posix.o random.o region.o search.o spawn.o tcap.o termio.o utf8.o vmsvt.o vt52.o window.o word.o wrapper.o -HDR=basic.h bind.h bindable.h buffer.h crypt.h defines.h display.h ebind.h edef.h efunc.h estruct.h eval.h exec.h execute.h file.h fileio.h flook.h input.h isearch.h line.h lock.h log.h names.h pklock.h random.h region.h retcode.h search.h spawn.h termio.h utf8.h version.h window.h word.h wrapper.h +SRC=ansi.c basic.c bindable.c bind.c buffer.c crypt.c display.c ebind.c eval.c exec.c execute.c file.c fileio.c flook.c globals.c ibmpc.c input.c isearch.c line.c lock.c log.c main.c names.c pklock.c posix.c random.c region.c search.c spawn.c tcap.c termio.c utf8.c vmsvt.c vt52.c window.c word.c wrapper.c +OBJ=ansi.o basic.o bindable.o bind.o buffer.o crypt.o display.o ebind.o eval.o exec.o execute.o file.o fileio.o flook.o globals.o ibmpc.o input.o isearch.o line.o lock.o log.o main.o names.o pklock.o posix.o random.o region.o search.o spawn.o tcap.o termio.o utf8.o vmsvt.o vt52.o window.o word.o wrapper.o +HDR=basic.h bindable.h bind.h buffer.h crypt.h defines.h display.h ebind.h edef.h efunc.h estruct.h eval.h exec.h execute.h file.h fileio.h flook.h input.h isearch.h line.h lock.h log.h names.h pklock.h random.h region.h retcode.h search.h spawn.h terminal.h termio.h utf8.h version.h window.h word.h wrapper.h # DO NOT ADD OR MODIFY ANY LINES ABOVE THIS -- make source creates them @@ -130,12 +130,12 @@ ansi.o: ansi.c estruct.h retcode.h edef.h buffer.h crypt.h line.h utf8.h basic.o: basic.c basic.h buffer.h crypt.h line.h utf8.h display.h \ estruct.h retcode.h edef.h input.h random.h terminal.h defines.h \ window.h -bind.o: bind.c bind.h edef.h buffer.h crypt.h line.h utf8.h estruct.h \ - retcode.h bindable.h display.h ebind.h exec.h file.h flook.h input.h \ - names.h window.h defines.h bindable.o: bindable.c bindable.h defines.h buffer.h crypt.h line.h \ utf8.h display.h edef.h estruct.h retcode.h file.h input.h lock.h \ terminal.h +bind.o: bind.c bind.h edef.h buffer.h crypt.h line.h utf8.h estruct.h \ + retcode.h bindable.h display.h ebind.h exec.h file.h flook.h input.h \ + names.h window.h defines.h buffer.o: buffer.c buffer.h crypt.h line.h utf8.h defines.h display.h \ edef.h estruct.h retcode.h file.h input.h window.h crypt.o: crypt.c crypt.h @@ -170,7 +170,7 @@ isearch.o: isearch.c isearch.h basic.h buffer.h crypt.h line.h utf8.h \ line.o: line.c line.h utf8.h buffer.h crypt.h edef.h estruct.h retcode.h \ log.h window.h defines.h lock.o: lock.c lock.h estruct.h retcode.h display.h edef.h buffer.h \ - crypt.h line.h utf8.h input.h + crypt.h line.h utf8.h input.h pklock.h log.o: log.c log.h retcode.h main.o: main.c basic.h bind.h edef.h buffer.h crypt.h line.h utf8.h \ estruct.h retcode.h bindable.h display.h eval.h execute.h file.h input.h \ @@ -181,7 +181,8 @@ names.o: names.c names.h basic.h bind.h edef.h buffer.h crypt.h line.h \ isearch.h region.h random.h search.h spawn.h window.h defines.h word.h pklock.o: pklock.c pklock.h estruct.h retcode.h edef.h buffer.h crypt.h \ line.h utf8.h -posix.o: posix.c termio.h +posix.o: posix.c termio.h estruct.h retcode.h edef.h buffer.h crypt.h \ + line.h utf8.h random.o: random.c random.h basic.h buffer.h crypt.h line.h utf8.h \ display.h estruct.h retcode.h edef.h execute.h input.h log.h search.h \ terminal.h defines.h window.h @@ -195,7 +196,7 @@ spawn.o: spawn.c spawn.h defines.h buffer.h crypt.h line.h utf8.h \ terminal.h window.h tcap.o: tcap.c terminal.h defines.h display.h estruct.h retcode.h edef.h \ buffer.h crypt.h line.h utf8.h termio.h -termio.o: termio.c termio.h estruct.h retcode.h utf8.h +termio.o: termio.c termio.h utf8.o: utf8.c utf8.h vmsvt.o: vmsvt.c estruct.h retcode.h edef.h buffer.h crypt.h line.h \ utf8.h diff --git a/posix.c b/posix.c index 00b19be..062f776 100644 --- a/posix.c +++ b/posix.c @@ -26,6 +26,9 @@ #include "edef.h" #include "utf8.h" +int ttrow = HUGE ; /* Row location of HW cursor */ +int ttcol = HUGE ; /* Column location of HW cursor */ + /* Since Mac OS X's termios.h doesn't have the following 2 macros, define them. */ #if defined(SYSV) && (defined(_DARWIN_C_SOURCE) || defined(_FREEBSD_C_SOURCE))