summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2009-04-26 15:31:50 +0000
committerTom Lane2009-04-26 15:31:50 +0000
commit97cfbf5c4aad02eca4ad37bb1e6177b75c490d1d (patch)
treecb76f2cee845312732d2e43fb338eae16fc20782
parentc20c7211d482108953d46b36978eeb248214b974 (diff)
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.
-rw-r--r--src/bin/psql/copy.c4
1 files changed, 0 insertions, 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