From 69ece10d5978cc250df4c643d034d766c2b4855a Mon Sep 17 00:00:00 2001 From: mdw Date: Fri, 24 Jan 2003 20:11:14 +0000 Subject: [PATCH] Don't do resource limits on Cygwin. --- acconfig.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/acconfig.h b/acconfig.h index b0f0d47..16ef2a6 100644 --- a/acconfig.h +++ b/acconfig.h @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: acconfig.h,v 1.2 1999/07/26 23:29:02 mdw Exp $ + * $Id: acconfig.h,v 1.3 2003/01/24 20:11:14 mdw Exp $ * * Configuration header for fw * @@ -29,6 +29,9 @@ /*----- Revision history --------------------------------------------------* * * $Log: acconfig.h,v $ + * Revision 1.3 2003/01/24 20:11:14 mdw + * Don't do resource limits on Cygwin. + * * Revision 1.2 1999/07/26 23:29:02 mdw * Add DECL_ENVIRON. * @@ -58,6 +61,13 @@ @BOTTOM@ + /* Cygwin advertises a number of limits and raises errors if you use them. + * This is a bit crap, and we ought to be able to cope, but for now we just + * don't do resource limits on Cygwin. Sorry. */ +#ifdef __CYGWIN__ +# undef HAVE_SETRLIMIT +#endif + /*----- That's all, folks -------------------------------------------------*/ #ifdef __cplusplus -- 2.11.0