aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatija Skala <mskala@gmx.com>2019-09-16 22:51:59 +0200
committerFabian Groffen <grobian@gentoo.org>2019-09-21 22:21:22 +0200
commit909489d4317eb4d1dddc1da95d08f365e39dc7b7 (patch)
tree221c250c84a974cf71f745479da17bc9e2183e95 /qmanifest.c
parentqlop: fix last merge timeframe detection (diff)
downloadportage-utils-909489d4317eb4d1dddc1da95d08f365e39dc7b7.tar.gz
portage-utils-909489d4317eb4d1dddc1da95d08f365e39dc7b7.tar.bz2
portage-utils-909489d4317eb4d1dddc1da95d08f365e39dc7b7.zip
fix compile on hurd
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'qmanifest.c')
-rw-r--r--qmanifest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qmanifest.c b/qmanifest.c
index 41faa4c..10cd39c 100644
--- a/qmanifest.c
+++ b/qmanifest.c
@@ -91,7 +91,7 @@ char verify_manifest(const char *dir, const char *manifest, verify_msg **msgs);
static inline void
update_times(struct timeval *tv, struct stat *s)
{
-#ifdef __MACH__
+#ifdef __MACH__ && defined __APPLE__
# define st_mtim st_mtimespec
# define st_atim st_atimespec
#endif