--- MITgcm/eesupp/src/setrlstk.c 2005/09/11 18:52:26 1.1 +++ MITgcm/eesupp/src/setrlstk.c 2006/06/20 03:13:54 1.2 @@ -1,5 +1,5 @@ /* - * $Header: /home/ubuntu/mnt/e9_copy/MITgcm/eesupp/src/setrlstk.c,v 1.1 2005/09/11 18:52:26 edhill Exp $ + * $Header: /home/ubuntu/mnt/e9_copy/MITgcm/eesupp/src/setrlstk.c,v 1.2 2006/06/20 03:13:54 edhill Exp $ * $Name: $ //BOP @@ -18,20 +18,23 @@ #include "FC_NAMEMANGLE.h" /* #define FC_NAMEMANGLE(X) X ## _ */ - +#ifdef HAVE_SETRLSTK #include #include #include +#endif /* int main( int argc, char ** argv ) */ void FC_NAMEMANGLE(setrlstk) () { +#ifdef HAVE_SETRLSTK struct rlimit rls; rls.rlim_cur = RLIM_INFINITY; rls.rlim_max = RLIM_INFINITY; setrlimit(RLIMIT_STACK, &rls); /* system("ulimit -a"); */ +#endif return; }