Index: lib/System/Unix/Program.inc
===================================================================
--- lib/System/Unix/Program.inc	(revision 37850)
+++ lib/System/Unix/Program.inc	(working copy)
@@ -119,7 +119,7 @@
   getrlimit (RLIMIT_DATA, &r);
   r.rlim_cur = limit;
   setrlimit (RLIMIT_DATA, &r);
-#ifndef __CYGWIN__
+#ifdef RLIMIT_RSS
   // Resident set size.
   getrlimit (RLIMIT_RSS, &r);
   r.rlim_cur = limit;
