Skip to content
Snippets Groups Projects
Commit 0d32dec9 authored by deuce's avatar deuce
Browse files

Now uses UIFC32.

parent 06f0b3d0
Branches
Tags
No related merge requests found
...@@ -13,6 +13,9 @@ ...@@ -13,6 +13,9 @@
# $Id$ # $Id$
#USE_CURSES := 1 #Use old curses UIFC implementation
USE_UIFC32 := 1 # Use new uifc32 implementation
# Macros # Macros
ifndef RELEASE ifndef RELEASE
ifndef DEBUG ifndef DEBUG
...@@ -89,7 +92,6 @@ vpath %.cpp $(SBBS3) ...@@ -89,7 +92,6 @@ vpath %.cpp $(SBBS3)
OBJS := $(LIBODIR)/filewrap.o \ OBJS := $(LIBODIR)/filewrap.o \
$(LIBODIR)/chat.o \ $(LIBODIR)/chat.o \
$(LIBODIR)/uifcc.o \
$(LIBODIR)/sockwrap.o \ $(LIBODIR)/sockwrap.o \
$(LIBODIR)/dirwrap.o \ $(LIBODIR)/dirwrap.o \
$(LIBODIR)/genwrap.o \ $(LIBODIR)/genwrap.o \
...@@ -111,6 +113,15 @@ OBJS := $(LIBODIR)/filewrap.o \ ...@@ -111,6 +113,15 @@ OBJS := $(LIBODIR)/filewrap.o \
$(LIBODIR)/getmail.o \ $(LIBODIR)/getmail.o \
$(LIBODIR)/umonitor.o $(LIBODIR)/umonitor.o
ifdef USE_CURSES
OBJS += $(LIBODIR)/uifcc.o
endif
ifdef USE_UIFC32
OBJS += $(LIBODIR)/uifc32.o \
$(LIBODIR)/ciowrap.o
endif
all: $(LIBODIR) $(BUILD_DEPENDS)$(EXEODIR)/umonitor all: $(LIBODIR) $(BUILD_DEPENDS)$(EXEODIR)/umonitor
FORCE$(EXEODIR)/umonitor: $(EXEODIR) $(OBJS) $(BUILD_DEPENDS) FORCE$(EXEODIR)/umonitor: $(EXEODIR) $(OBJS) $(BUILD_DEPENDS)
......
...@@ -500,7 +500,11 @@ int main(int argc, char** argv) { ...@@ -500,7 +500,11 @@ int main(int argc, char** argv) {
signal(SIGPIPE, SIG_IGN); signal(SIGPIPE, SIG_IGN);
uifc.size=sizeof(uifc); uifc.size=sizeof(uifc);
#ifdef USE_CURSES
i=uifcinic(&uifc); /* curses */ i=uifcinic(&uifc); /* curses */
#else
i=uifcini32(&uifc); /* curses */
#endif
if(i!=0) { if(i!=0) {
printf("uifc library init returned error %d\n",i); printf("uifc library init returned error %d\n",i);
exit(1); exit(1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment