patch 9.0.1110: build fails on Mac OS X 10.4/10.5
Problem: Build fails on Mac OS X 10.4/10.5 .
Solution: Check if the dispatch/dispatch.h header exists. (Evan Miller,
closes #11746)
This commit is contained in:
committed by
Bram Moolenaar
parent
c4b3f6477c
commit
254480736f
@ -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
|
||||
|
||||
Reference in New Issue
Block a user