allow UNICODE=0 builds
authorMartin Fuchs <fuchs.martin@gmail.com>
Wed, 31 Dec 2003 11:45:33 +0000 (11:45 +0000)
committerMartin Fuchs <fuchs.martin@gmail.com>
Wed, 31 Dec 2003 11:45:33 +0000 (11:45 +0000)
svn path=/trunk/; revision=7364

reactos/subsys/system/explorer/Makefile
reactos/subsys/system/explorer/Makefile.MinGW

index 3c34a3f..f9a56bf 100644 (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
index e954499..5062be8 100644 (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