From: Tom Lane Date: Sun, 26 Apr 2009 15:31:50 +0000 (+0000) Subject: Remove Windows-specific definition of S_ISDIR(). This should not be here; X-Git-Url: http://git.postgresql.org/gitweb/static/session/index.html?a=commitdiff_plain;h=97cfbf5c4aad02eca4ad37bb1e6177b75c490d1d;p=users%2Fsimon%2Fpostgres.git Remove Windows-specific definition of S_ISDIR(). This should not be here; if there are any Windows configurations where port/win32.h fails to provide the macro, it should be fixed in the latter file not here. --- diff --git a/src/bin/psql/copy.c b/src/bin/psql/copy.c index 27dce11a97..5b9c6059d9 100644 --- a/src/bin/psql/copy.c +++ b/src/bin/psql/copy.c @@ -26,10 +26,6 @@ #include "prompt.h" #include "stringutils.h" -#if defined(WIN32) && !defined(S_ISDIR) -#define __S_ISTYPE(mode, mask) (((mode) & S_IFMT) == (mask)) -#define S_ISDIR(mode) __S_ISTYPE((mode), S_IFDIR) -#endif /* * parse_slash_copy