Commit 0d32dec9 authored by deuce's avatar deuce
Browse files

Now uses UIFC32.

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