Define lstat with parameters, rather than just redefining the symbol.
authorBruce Momjian
Tue, 31 Aug 2004 11:29:56 +0000 (11:29 +0000)
committerBruce Momjian
Tue, 31 Aug 2004 11:29:56 +0000 (11:29 +0000)
src/include/port/win32.h

index 6de6959aafa67af0a11580f2666e9581a12475dc..b33d264555a761d449eca3651db06fe1092b90dd 100644 (file)
@@ -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 .
  */
-#define lstat stat
+#define lstat(path, sb)    stat((path), (sb))
 
 /*
  * Supplement to .