Skip to content

Commit 1d3a161

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 to provide the macro, it should be fixed in the latter file not here.
1 parent f5c572a commit 1d3a161

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-
#define S_ISDIR(mode) __S_ISTYPE((mode), S_IFDIR)
32-
#endif
3329

3430
/*
3531
* parse_slash_copy

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy