Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1d3a161

Browse files
committed
Remove Windows-specific definition of S_ISDIR(). This should not be here;
if there are any Windows configurations where port/win32.h fails toprovide the macro, it should be fixed in the latter file not here.
1 parentf5c572a commit1d3a161

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

‎src/bin/psql/copy.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright (c) 2000-2009, PostgreSQL Global Development Group
55
*
6-
* $PostgreSQL: pgsql/src/bin/psql/copy.c,v 1.79 2009/01/01 17:23:54 momjian Exp $
6+
* $PostgreSQL: pgsql/src/bin/psql/copy.c,v 1.80 2009/04/26 15:31:50 tgl Exp $
77
*/
88
#include"postgres_fe.h"
99
#include"copy.h"
@@ -26,10 +26,6 @@
2626
#include"prompt.h"
2727
#include"stringutils.h"
2828

29-
#if defined(WIN32)&& !defined(S_ISDIR)
30-
#define__S_ISTYPE(mode,mask)(((mode) & S_IFMT) == (mask))
31-
#defineS_ISDIR(mode) __S_ISTYPE((mode), S_IFDIR)
32-
#endif
3329

3430
/*
3531
* parse_slash_copy

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp