summaryrefslogtreecommitdiffstats
path: root/contrib/qemu/include
diff options
context:
space:
mode:
authorHarshavardhana <harsha@harshavardhana.net>2014-08-09 23:54:15 -0700
committerHarshavardhana <harsha@harshavardhana.net>2014-08-11 09:02:51 -0700
commitc77a77ef0fca8371bba956b78a2da80f73f6f26b (patch)
treeb6dc9e1b13f5405ce3f516375d0468764bccc009 /contrib/qemu/include
parentccb5dc01b8916f0e7d1e3d3535a81cc8b0f0c25e (diff)
osx: Enable qemu feature build on Darwin
Change-Id: Ie5d437aa6c52c180fd8d54680c5f882e75c0bf7e BUG: 1089172 Signed-off-by: Harshavardhana <harsha@harshavardhana.net> Reviewed-on: http://review.gluster.org/8448 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Diffstat (limited to 'contrib/qemu/include')
-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