allow UNICODE=0 builds

svn path=/trunk/; revision=7364
This commit is contained in:
Martin Fuchs 2003-12-31 11:45:33 +00:00
parent 4d9498236c
commit 1558a94775
2 changed files with 8 additions and 2 deletions

View file

@ -18,7 +18,9 @@ RC = windres
CD_PREFIX :=
endif
ifndef UNICODE
UNICODE = 1
endif
TOOLS_PATH = ../../../tools
@ -36,7 +38,7 @@ RCFLAGS += -DNDEBUG
LFLAGS += -s
endif
ifdef UNICODE
ifeq ($(ifdef UNICODE),1)
CFLAGS += -DUNICODE
# LFLAGS+= -Wl,--entry,_wWinMain@16
endif

View file

@ -22,7 +22,11 @@ RCFLAGS += -DNDEBUG
LFLAGS += -s
endif
ifdef UNICODE
ifndef UNICODE
UNICODE = 1
endif
ifeq ($(UNICODE),1)
CFLAGS += -DUNICODE
# LFLAGS+= -Wl,--entry,_wWinMain@16
endif