summaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
authorPieter Noordhuis <pcnoordhuis@gmail.com>2012-02-21 10:11:20 -0800
committerPieter Noordhuis <pcnoordhuis@gmail.com>2012-02-21 10:20:28 -0800
commitca2344f9916f048667304bfa1e476fc52d1bc15d (patch)
tree0f92b345583d216f2932437c12a7b7956b9ac357 /src/config.h
parent57be47758e3203fe5e01c15895c4351206415024 (diff)
downloadredis-ca2344f9916f048667304bfa1e476fc52d1bc15d.tar.gz
Solaris has backtrace(3)
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.h b/src/config.h
index f38ce872e..323a3ddd1 100644
--- a/src/config.h
+++ b/src/config.h
@@ -25,7 +25,7 @@
#endif
/* Test for backtrace() */
-#if defined(__APPLE__) || defined(__linux__)
+#if defined(__APPLE__) || defined(__linux__) || defined(__sun)
#define HAVE_BACKTRACE 1
#endif