* [PATCH 3/4] Make workaround for old glibc getsubopt() glibc-specific
@ 2016-06-18 14:53 Felix Janda
0 siblings, 0 replies; only message in thread
From: Felix Janda @ 2016-06-18 14:53 UTC (permalink / raw)
To: xfs
Signed-off-by: Felix Janda <felix.janda@posteo.de>
---
include/linux.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux.h b/include/linux.h
index f6d0f80..873b682 100644
--- a/include/linux.h
+++ b/include/linux.h
@@ -132,7 +132,7 @@ platform_discard_blocks(int fd, uint64_t start, uint64_t len)
return 0;
}
-#if (__GLIBC__ < 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR__ <= 1))
+#if defined(__GLIBC__) && ((__GLIBC__ < 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR__ <= 1)))
# define getsubopt(p, s, v) getsubopt(p, (const char * const *)s, v)
#endif
--
2.7.3
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-06-18 14:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-18 14:53 [PATCH 3/4] Make workaround for old glibc getsubopt() glibc-specific Felix Janda
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox