From 1558a947752ed29bb9ed65d76932b4d3e4667026 Mon Sep 17 00:00:00 2001 From: Martin Fuchs Date: Wed, 31 Dec 2003 11:45:33 +0000 Subject: [PATCH] allow UNICODE=0 builds svn path=/trunk/; revision=7364 --- reactos/subsys/system/explorer/Makefile | 4 +++- reactos/subsys/system/explorer/Makefile.MinGW | 6 +++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/reactos/subsys/system/explorer/Makefile b/reactos/subsys/system/explorer/Makefile index 3c34a3f061c..f9a56bfca0f 100644 --- a/reactos/subsys/system/explorer/Makefile +++ b/reactos/subsys/system/explorer/Makefile @@ -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 diff --git a/reactos/subsys/system/explorer/Makefile.MinGW b/reactos/subsys/system/explorer/Makefile.MinGW index e9544992e28..5062be80907 100644 --- a/reactos/subsys/system/explorer/Makefile.MinGW +++ b/reactos/subsys/system/explorer/Makefile.MinGW @@ -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