summaryrefslogtreecommitdiffstats
path: root/src/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index b5c7d80..2e89af6 100644
--- a/src/util.h
+++ b/src/util.h
@@ -90,6 +90,12 @@
# define BFS_HAS_UTIL BFS_HAS_INCLUDE(<util.h>, __NetBSD__)
#endif
+#ifdef __GLIBC_PREREQ
+# define BFS_GLIBC_PREREQ(maj, min) __GLIBC_PREREQ(maj, min)
+#else
+# define BFS_GLIBC_PREREQ(maj, min) false
+#endif
+
#if !defined(FNM_CASEFOLD) && defined(FNM_IGNORECASE)
# define FNM_CASEFOLD FNM_IGNORECASE
#endif