mirror of
https://github.com/rfivet/uemacs.git
synced 2024-12-23 17:46:23 -05:00
Adapatation to Cygwin32
This commit is contained in:
parent
fa00fe882f
commit
128354e657
3
Makefile
3
Makefile
@ -48,6 +48,9 @@ endif
|
|||||||
ifeq ($(uname_S),Darwin)
|
ifeq ($(uname_S),Darwin)
|
||||||
DEFINES=-DAUTOCONF -DPOSIX -DSYSV -D_DARWIN_C_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_XOPEN_SOURCE=600
|
DEFINES=-DAUTOCONF -DPOSIX -DSYSV -D_DARWIN_C_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_XOPEN_SOURCE=600
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(uname_S),CYGWIN_NT-6.1-WOW64)
|
||||||
|
DEFINES=-DAUTOCONF
|
||||||
|
endif
|
||||||
#DEFINES=-DAUTOCONF
|
#DEFINES=-DAUTOCONF
|
||||||
#LIBS=-ltermcap # BSD
|
#LIBS=-ltermcap # BSD
|
||||||
LIBS=-lcurses # SYSV
|
LIBS=-lcurses # SYSV
|
||||||
|
4
tcap.c
4
tcap.c
@ -13,9 +13,9 @@
|
|||||||
#define USE_BROKEN_OPTIMIZATION 0
|
#define USE_BROKEN_OPTIMIZATION 0
|
||||||
#define termdef 1 /* Don't define "term" external. */
|
#define termdef 1 /* Don't define "term" external. */
|
||||||
|
|
||||||
#include <curses.h>
|
#include <ncurses/curses.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <term.h>
|
#include <ncurses/term.h>
|
||||||
|
|
||||||
#include "estruct.h"
|
#include "estruct.h"
|
||||||
#include "edef.h"
|
#include "edef.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user