summaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2010-09-02 10:57:58 +0200
committerantirez <antirez@gmail.com>2010-09-02 10:57:58 +0200
commit73db2acc374c99ca8224e44a7383f69e7ca24a4f (patch)
tree4c6a21949596ab9702b52a3a1e0cead7b182a74c /src/config.h
parenteddb388ef90258be406bdf1355f7c65bdd71bbe8 (diff)
downloadredis-73db2acc374c99ca8224e44a7383f69e7ca24a4f.tar.gz
memory fragmentation reporting in INFO also added for Mac OS X
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
index acc95cf52..e2d848187 100644
--- a/src/config.h
+++ b/src/config.h
@@ -26,6 +26,11 @@
#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