X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/96ffb2fe97c3e77879e7a4f6f7457397a18bf233..136cf53f22539b33396247d356e7e9d077068ccf:/src/config.h?ds=sidebyside diff --git a/src/config.h b/src/config.h index 6e98fbb2..e2d84818 100644 --- a/src/config.h +++ b/src/config.h @@ -21,6 +21,16 @@ #define redis_stat stat #endif +/* test for proc filesystem */ +#ifdef __linux__ +#define HAVE_PROCFS 1 +#endif + +/* test for task_info() */ +#if defined(__APPLE__) +#define HAVE_TASKINFO 1 +#endif + /* test for backtrace() */ #if defined(__APPLE__) || defined(__linux__) #define HAVE_BACKTRACE 1