From c01ac6c30abcfa00b5485c6825c85c485efb2fa2 Mon Sep 17 00:00:00 2001 From: Przemyslaw Skibinski Date: Mon, 12 Dec 2016 11:23:21 +0100 Subject: [PATCH] turn on the '-r' option for *BSD and Solaris --- programs/util.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/programs/util.h b/programs/util.h index fd07c348a..20fb493f4 100644 --- a/programs/util.h +++ b/programs/util.h @@ -325,7 +325,8 @@ UTIL_STATIC int UTIL_prepareFileList(const char *dirName, char** bufStart, size_ return nbFiles; } -#elif (defined(__APPLE__) && defined(__MACH__)) || \ +#elif (defined(__APPLE__) && defined(__MACH__)) || defined(__SVR4) || \ + defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || \ ((defined(__unix__) || defined(__unix) || defined(__midipix__)) && defined(_POSIX_C_SOURCE) && (_POSIX_C_SOURCE >= 200112L)) /* snprintf, opendir */ # define UTIL_HAS_CREATEFILELIST # include /* opendir, readdir */