diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-01-10 00:19:51 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-01-10 00:19:51 +0000 |
| commit | 8e4f4078d835f9f9bc96ceaeb45546a0c9c5c731 (patch) | |
| tree | 5305a3f7ad481df5d5900c07d371d4f851e0318b /src/port/path.c | |
| parent | ab3bb9cf784c0d7057add6a3a95b296c678cd029 (diff) | |
| download | postgresql-8e4f4078d835f9f9bc96ceaeb45546a0c9c5c731.tar.gz | |
Un-break MSVC build, per Andrew Dunstan.
Diffstat (limited to 'src/port/path.c')
| -rw-r--r-- | src/port/path.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/port/path.c b/src/port/path.c index ea45099dab..2abe6e45e7 100644 --- a/src/port/path.c +++ b/src/port/path.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/port/path.c,v 1.49 2005/01/06 21:41:45 tgl Exp $ + * $PostgreSQL: pgsql/src/port/path.c,v 1.50 2005/01/10 00:19:51 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -18,7 +18,14 @@ #include <ctype.h> #include <sys/stat.h> #ifdef WIN32 +#ifdef _WIN32_IE +#undef _WIN32_IE +#endif #define _WIN32_IE 0x0400 +#ifdef near +#undef near +#endif +#define near #include <shlobj.h> #else #include <unistd.h> |
