mirror of
https://github.com/rfivet/uemacs.git
synced 2025-02-20 23:17:13 -05:00
Review header dependencies controlled by POSIX and MINGW32 flags.
This commit is contained in:
parent
5f7a1aa1a9
commit
b6bd5c2927
4
Makefile
4
Makefile
@ -171,7 +171,7 @@ names.o: names.c names.h basic.h bind.h bindable.h buffer.h crypt.h \
|
|||||||
line.h utf8.h display.h eval.h exec.h retcode.h file.h isearch.h \
|
line.h utf8.h display.h eval.h exec.h retcode.h file.h isearch.h \
|
||||||
region.h random.h search.h spawn.h window.h defines.h word.h
|
region.h random.h search.h spawn.h window.h defines.h word.h
|
||||||
pklock.o: pklock.c estruct.h pklock.h
|
pklock.o: pklock.c estruct.h pklock.h
|
||||||
posix.o: posix.c termio.h
|
posix.o: posix.c
|
||||||
random.o: random.c random.h basic.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 execute.h input.h bind.h log.h retcode.h search.h \
|
display.h estruct.h execute.h input.h bind.h log.h retcode.h search.h \
|
||||||
terminal.h defines.h window.h
|
terminal.h defines.h window.h
|
||||||
@ -194,7 +194,7 @@ window.o: window.c window.h defines.h buffer.h crypt.h line.h utf8.h \
|
|||||||
word.o: word.c word.h basic.h buffer.h crypt.h line.h utf8.h estruct.h \
|
word.o: word.c word.h basic.h buffer.h crypt.h line.h utf8.h estruct.h \
|
||||||
log.h retcode.h random.h region.h window.h defines.h
|
log.h retcode.h random.h region.h window.h defines.h
|
||||||
wrapper.o: wrapper.c wrapper.h
|
wrapper.o: wrapper.c wrapper.h
|
||||||
wscreen.o: wscreen.c wscreen.h
|
wscreen.o: wscreen.c
|
||||||
|
|
||||||
# DEPENDENCIES MUST END AT END OF FILE
|
# DEPENDENCIES MUST END AT END OF FILE
|
||||||
# IF YOU PUT STUFF HERE IT WILL GO AWAY
|
# IF YOU PUT STUFF HERE IT WILL GO AWAY
|
||||||
|
6
posix.c
6
posix.c
@ -1,4 +1,6 @@
|
|||||||
/* posix.c -- implements termio.h */
|
/* posix.c -- posix implementation of termio.h */
|
||||||
|
#ifdef POSIX
|
||||||
|
|
||||||
#include "termio.h"
|
#include "termio.h"
|
||||||
|
|
||||||
/* posix.c
|
/* posix.c
|
||||||
@ -13,8 +15,6 @@
|
|||||||
* fixed for termios rather than the old termio.. Linus Torvalds
|
* fixed for termios rather than the old termio.. Linus Torvalds
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef POSIX
|
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
5
termio.c
5
termio.c
@ -1,3 +1,6 @@
|
|||||||
|
/* termio.c -- implements termio.h */
|
||||||
|
#if !defined( POSIX) && !defined( MINGW32)
|
||||||
|
|
||||||
#include "termio.h"
|
#include "termio.h"
|
||||||
|
|
||||||
/* TERMIO.C
|
/* TERMIO.C
|
||||||
@ -9,8 +12,6 @@
|
|||||||
* modified by Petri Kutvonen
|
* modified by Petri Kutvonen
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if !defined( POSIX) && !defined( MINGW32)
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
/* wscreen.c -- windows screen console */
|
/* wscreen.c -- windows screen console for MINGW32 */
|
||||||
#include "wscreen.h"
|
|
||||||
|
|
||||||
#ifdef MINGW32
|
#ifdef MINGW32
|
||||||
|
|
||||||
|
#include "wscreen.h"
|
||||||
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
@ -112,6 +112,6 @@ void wtitle( const char *title) {
|
|||||||
SetConsoleTitle( title) ;
|
SetConsoleTitle( title) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif /* MINGW32 */
|
||||||
|
|
||||||
/* end of wscreen.c */
|
/* end of wscreen.c */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user