]> granicus.if.org Git - postgresql/commitdiff
Change bsdi define to __bsdi__
authorBruce Momjian <bruce@momjian.us>
Sat, 15 May 2010 10:08:28 +0000 (10:08 +0000)
committerBruce Momjian <bruce@momjian.us>
Sat, 15 May 2010 10:08:28 +0000 (10:08 +0000)
contrib/pg_upgrade/file.c

index 2bdda622ebc2e502d438e1ef7e1b74cf1146b443..35d7761eeb687242b955fa96f01701dbf1ae1727 100644 (file)
@@ -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