jdk/make/common/shared/Platform.gmk
changeset 5619 88a384ff7110
parent 5611 b4ef86f105ec
parent 5381 d6d64a42ff51
child 5627 e636ac7a63a4
--- a/jdk/make/common/shared/Platform.gmk	Mon May 24 00:39:57 2010 -0400
+++ b/jdk/make/common/shared/Platform.gmk	Mon May 24 09:06:11 2010 -0700
@@ -295,7 +295,12 @@
   endif
   ARCH_FAMILY = $(ARCH)
   # Where is unwanted output to be delivered?
-  DEV_NULL = NUL
+  # MKS uses the special file "NUL", cygwin uses the customary unix file.
+  ifeq ($(USING_CYGWIN),true)
+    DEV_NULL = /dev/null
+  else
+    DEV_NULL = NUL
+  endif
   export DEV_NULL
   # Classpath separator
   CLASSPATH_SEPARATOR = ;