summaryrefslogtreecommitdiffstats
path: root/src/feature.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/feature.h')
-rw-r--r--src/feature.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/feature.h b/src/feature.h
index 948539b1b3..3255f8abd3 100644
--- a/src/feature.h
+++ b/src/feature.h
@@ -272,7 +272,8 @@
*/
#if defined(FEAT_NORMAL) \
&& defined(FEAT_EVAL) \
- && ((defined(HAVE_GETTIMEOFDAY) && defined(HAVE_SYS_TIME_H)) \
+ && ((defined(HAVE_GETTIMEOFDAY) && defined(HAVE_SYS_TIME_H) \
+ && (!defined(MACOS_X) || defined(HAVE_DISPATCH_DISPATCH_H))) \
|| defined(MSWIN))
# define FEAT_RELTIME
#endif