summaryrefslogtreecommitdiff
path: root/fmacros.h
diff options
context:
space:
mode:
authorPieter Noordhuis <pcnoordhuis@gmail.com>2013-05-01 09:23:06 -0700
committerPieter Noordhuis <pcnoordhuis@gmail.com>2013-05-01 09:23:06 -0700
commitbb3c4c17c45c89d980e2f4f59f59e55d13c77334 (patch)
tree0efcd2d651a075e0849cb45fdbcae4b613c297f5 /fmacros.h
parent9dff5105fc01f52437d862bc95d40415f03179f0 (diff)
Make redisKeepAlive work on OSX
Diffstat (limited to 'fmacros.h')
-rw-r--r--fmacros.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/fmacros.h b/fmacros.h
index 21cd9cf..799c12c 100644
--- a/fmacros.h
+++ b/fmacros.h
@@ -13,4 +13,8 @@
#define _XOPEN_SOURCE
#endif
+#if __APPLE__ && __MACH__
+#define _OSX
+#endif
+
#endif