Commit b4456e6d authored by Bruce Momjian's avatar Bruce Momjian

Define lstat with parameters, rather than just redefining the symbol.

parent 2e88d29f
/* $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 */ /* undefine and redefine after #include */
#undef mkdir #undef mkdir
...@@ -206,7 +206,7 @@ int setitimer(int which, const struct itimerval * value, struct itimerval * ov ...@@ -206,7 +206,7 @@ int setitimer(int which, const struct itimerval * value, struct itimerval * ov
/* /*
* Supplement to <sys/stat.h>. * Supplement to <sys/stat.h>.
*/ */
#define lstat stat #define lstat(path, sb) stat((path), (sb))
/* /*
* Supplement to <errno.h>. * Supplement to <errno.h>.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment