1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-12-24 10:06:30 -05:00

Adapatation to Cygwin32

This commit is contained in:
U-Renaud-PC\Renaud 2013-04-30 15:24:03 +08:00 committed by Renaud Fivet
parent fa00fe882f
commit 128354e657
2 changed files with 5 additions and 2 deletions

View File

@ -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
View File

@ -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"