Fix MacOS portability, bug1230.

This commit is contained in:
Wilson Snyder
2017-10-14 09:00:39 -04:00
parent 5bc2f87d3e
commit db8e8392fa
4 changed files with 12 additions and 2 deletions
+1 -1
View File
@@ -34,7 +34,7 @@
# define INFILTER_PIPE // Allow pipe filtering. Needs fork()
#endif
#ifdef st_mtime // Linux 2.6
#ifdef HAVE_STAT_NSEC // i.e. Linux 2.6, from configure
# define VL_STAT_CTIME_NSEC(stat) ((stat).st_ctim.tv_nsec) // Nanoseconds
# define VL_STAT_MTIME_NSEC(stat) ((stat).st_mtim.tv_nsec) // Nanoseconds
#else