aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2004-08-31 11:29:56 +0000
committerBruce Momjian <bruce@momjian.us>2004-08-31 11:29:56 +0000
commitb4456e6d6abc4abdd8102d14d954e932cfa543d4 (patch)
tree88ab39188df794b14d70f0ad9a5e7dc772152cd3 /src
parent2e88d29f88ffb2313c3b90b0c7cd12c5beb012c7 (diff)
downloadpostgresql-b4456e6d6abc4abdd8102d14d954e932cfa543d4.tar.gz
postgresql-b4456e6d6abc4abdd8102d14d954e932cfa543d4.zip
Define lstat with parameters, rather than just redefining the symbol.
Diffstat (limited to 'src')
-rw-r--r--src/include/port/win32.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/port/win32.h b/src/include/port/win32.h
index 6de6959aafa..b33d264555a 100644
--- a/src/include/port/win32.h
+++ b/src/include/port/win32.h
@@ -1,4 +1,4 @@
-/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.30 2004/08/31 11:25:33 momjian Exp $ */
+/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.31 2004/08/31 11:29:56 momjian Exp $ */
/* undefine and redefine after #include */
#undef mkdir
@@ -206,7 +206,7 @@ int setitimer(int which, const struct itimerval * value, struct itimerval * ov
/*
* Supplement to <sys/stat.h>.
*/
-#define lstat stat
+#define lstat(path, sb) stat((path), (sb))
/*
* Supplement to <errno.h>.