summaryrefslogtreecommitdiff
path: root/uisimulator/win32
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-03-05 22:49:29 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-03-05 22:49:29 +0000
commit9b628edc495fea56a1420383d98e86b4734abcbf (patch)
treee817db1bdc847aaec12db56d0b76150012a166d6 /uisimulator/win32
parent7d2f8e7063be240c11a56c7dbdda4a033f81b49d (diff)
Henrik Backe modified the check for cygwin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3387 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/win32')
-rw-r--r--uisimulator/win32/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/uisimulator/win32/Makefile b/uisimulator/win32/Makefile
index 614c172620..d152ea7933 100644
--- a/uisimulator/win32/Makefile
+++ b/uisimulator/win32/Makefile
@@ -67,8 +67,8 @@ CFLAGS = $(DEBUG) $(DEFINES) $(INCLUDES) -W -Wall -mno-cygwin
APPCFLAGS = $(DEBUG) $(DEFINES) $(APPINCLUDES) -W -Wall -mno-cygwin
-UNAME := $(shell uname)
-ifeq ($(UNAME),CYGWIN_NT-5.1)
+UNAME := $(shell uname|sed -e "s/CYGWIN.*/CYGWIN/")
+ifeq ($(UNAME),CYGWIN)
CC = gcc
WINDRES = windres
DEFINES += -DNOCYGWIN