projects
/
users
/
simon
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c20c721
)
Remove Windows-specific definition of S_ISDIR(). This should not be here;
author
Tom Lane
<tgl@sss.pgh.pa.us>
Sun, 26 Apr 2009 15:31:50 +0000
(15:31 +0000)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Sun, 26 Apr 2009 15:31:50 +0000
(15:31 +0000)
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
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/psql/copy.c
b/src/bin/psql/copy.c
index 27dce11a979d40eab9a676cb699e0c44e2c9a540..5b9c6059d9fbfe840d0406a4ba0db8a3b93ce267 100644
(file)
--- 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