From 97cfbf5c4aad02eca4ad37bb1e6177b75c490d1d Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 26 Apr 2009 15:31:50 +0000 Subject: [PATCH] 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. --- src/bin/psql/copy.c | 4 ---- 1 file changed, 4 deletions(-) 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 -- 2.39.5