diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2009-04-26 15:31:50 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2009-04-26 15:31:50 +0000 |
commit | 1d3a1613c5d2b4a3a29bfde593e76efb65f2dd29 (patch) | |
tree | 1f358335812052eb7a3b11be398314377071f292 /src | |
parent | f5c572a808f17f780e4f68eb65b739d1f6e15c63 (diff) | |
download | postgresql-1d3a1613c5d2b4a3a29bfde593e76efb65f2dd29.tar.gz postgresql-1d3a1613c5d2b4a3a29bfde593e76efb65f2dd29.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/bin/psql/copy.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/bin/psql/copy.c b/src/bin/psql/copy.c index 67181be3193..57593d111c1 100644 --- a/src/bin/psql/copy.c +++ b/src/bin/psql/copy.c @@ -3,7 +3,7 @@ * * Copyright (c) 2000-2009, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/bin/psql/copy.c,v 1.79 2009/01/01 17:23:54 momjian Exp $ + * $PostgreSQL: pgsql/src/bin/psql/copy.c,v 1.80 2009/04/26 15:31:50 tgl Exp $ */ #include "postgres_fe.h" #include "copy.h" @@ -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 |