*** trunk/csl/cslbase/ORGcsl.c 2011-11-10 12:57:19.000000000 +0900 --- trunk/csl/cslbase/csl.c 2011-11-10 13:29:12.000000000 +0900 *************** *** 61,69 **** --- 61,71 ---- #include #endif + #ifndef __FreeBSD_ #ifdef HAVE_SYS_RESOURCE_H #include #endif + #endif #ifndef HAVE_FWIN /* *************** *** 1345,1350 **** --- 1347,1353 ---- } } #else /* WIN32 */ + #ifndef __FreeBSD__ #ifdef HAVE_SYS_RESOURCE_H { struct rlimit r; if (getrlimit(RLIMIT_STACK, &r) == 0) *************** *** 1370,1375 **** --- 1373,1379 ---- } } } + #endif #endif /* HAVE_SYS_RESOURCE_H */ #endif /* WIN32 */ /* If I can not read a value then I will set a limit at 4 Mbytes... */ *** trunk/csl/cslbase/ORGfns1.c 2011-11-10 12:57:19.000000000 +0900 --- trunk/csl/cslbase/fns1.c 2011-11-10 13:27:04.000000000 +0900 *************** *** 38,43 **** --- 38,46 ---- /* Signature: 53a5e1ac 26-Sep-2011 */ #include "headers.h" + #ifdef __FreeBSD__ + #include + #endif *** trunk/scripts/ORGmake.sh 2011-11-10 12:47:08.000000000 +0900 --- trunk/scripts/make.sh 2011-11-10 13:34:26.000000000 +0900 *************** *** 87,93 **** cd ${l} echo $MAKE $flags $args MYFLAGS="$flags" --no-print-directory $MAKE $flags $args MYFLAGS="$flags" --no-print-directory ! rc=$(($?>$rc ? $? : $rc)) cd ../.. fi done --- 87,97 ---- cd ${l} echo $MAKE $flags $args MYFLAGS="$flags" --no-print-directory $MAKE $flags $args MYFLAGS="$flags" --no-print-directory ! # rc=$(($?>$rc ? $? : $rc)) ! if [ $? -gt $rc ] ! then ! rc=$? ! fi cd ../.. fi done