1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-12-23 09:36:31 -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)
DEFINES=-DAUTOCONF -DPOSIX -DSYSV -D_DARWIN_C_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_XOPEN_SOURCE=600
endif
ifeq ($(uname_S),CYGWIN_NT-6.1-WOW64)
DEFINES=-DAUTOCONF
endif
#DEFINES=-DAUTOCONF
#LIBS=-ltermcap # BSD
LIBS=-lcurses # SYSV

4
tcap.c
View File

@ -13,9 +13,9 @@
#define USE_BROKEN_OPTIMIZATION 0
#define termdef 1 /* Don't define "term" external. */
#include <curses.h>
#include <ncurses/curses.h>
#include <stdio.h>
#include <term.h>
#include <ncurses/term.h>
#include "estruct.h"
#include "edef.h"