summaryrefslogtreecommitdiffstats
path: root/contrib/qemu/include/sysemu/os-posix.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/qemu/include/sysemu/os-posix.h')
-rw-r--r--contrib/qemu/include/sysemu/os-posix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/qemu/include/sysemu/os-posix.h b/contrib/qemu/include/sysemu/os-posix.h
index ed8cbaff6a3..ac4a80e6d8c 100644
--- a/contrib/qemu/include/sysemu/os-posix.h
+++ b/contrib/qemu/include/sysemu/os-posix.h
@@ -36,7 +36,7 @@ int os_mlock(void);
typedef struct timeval qemu_timeval;
#define qemu_gettimeofday(tp) gettimeofday(tp, NULL)
-#if !defined(CONFIG_UTIMENSAT) || defined(__FreeBSD__)
+#if !defined(CONFIG_UTIMENSAT) || defined(__FreeBSD__) || defined(__APPLE__)
#ifndef UTIME_NOW
# define UTIME_NOW ((1l << 30) - 1l)
#endif