git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6912 c06c8d41-db1a-0410-9941-cceddc491573
MRGXJQRATIVNHPOR7AZ5FILMTNT4EYRDW2AAN4UQS4O6SW43PE5QC
UJUBPIJKQQOZ5OOAIA2XQE3KQVOCNI7ZH444YIYGQ23RQAGIZGTAC
PL6I2CMSTHY5ZHWVMIQE5YTM5S5VPKBNZM6QJVHZSSKOJGIJ5W4AC
K2CS6TCX2NDVL2ASEHGP4J4K4IJ6FP3ANNKTSIWVG43HPYSBX6ZQC
#ifdef DGL_ENABLE_CORE_DUMP#include <sys/time.h>#include <sys/resource.h>#endif
#ifdef DGL_ENABLE_CORE_DUMP
#include <sys/time.h>
#include <sys/resource.h>
#endif
#ifdef DGL_ENABLE_CORE_DUMP rlimit lim; if (!getrlimit(RLIMIT_CORE, &lim)) { lim.rlim_cur = RLIM_INFINITY; setrlimit(RLIMIT_CORE, &lim); }#endif
rlimit lim;
if (!getrlimit(RLIMIT_CORE, &lim)) {
lim.rlim_cur = RLIM_INFINITY;
setrlimit(RLIMIT_CORE, &lim);
}
// Enable core dumps. Note that this will not create core dumps if // Crawl is installed setuid or setgid, but dgamelaunch installs should // not be installing Crawl set[ug]id anyway. #define DGL_ENABLE_CORE_DUMP
// Enable core dumps. Note that this will not create core dumps if
// Crawl is installed setuid or setgid, but dgamelaunch installs should
// not be installing Crawl set[ug]id anyway.
#define DGL_ENABLE_CORE_DUMP