From: Bruce Momjian Date: Sat, 15 May 2010 10:08:28 +0000 (+0000) Subject: Change bsdi define to __bsdi__ X-Git-Tag: REL9_0_BETA2~112 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5781d96dc3bd1bf8f7cb9c07a9927627e72aeaa7;p=postgresql Change bsdi define to __bsdi__ --- diff --git a/contrib/pg_upgrade/file.c b/contrib/pg_upgrade/file.c index 2bdda622eb..35d7761eeb 100644 --- a/contrib/pg_upgrade/file.c +++ b/contrib/pg_upgrade/file.c @@ -245,7 +245,7 @@ pg_scandir(migratorContext *ctx, const char *dirname, * autoconf doesn't have a suitable builtin test and it seems overkill * to add one just to avoid a warning. */ -#elif defined(freebsd) || defined(bsdi) || defined(__darwin__) || defined(openbsd) +#elif defined(freebsd) || defined(__bsdi__) || defined(__darwin__) || defined(openbsd) /* no const */ return scandir(dirname, namelist, (int (*) (struct dirent *)) selector, NULL); #else