|
7 | 7 | * |
8 | 8 | * |
9 | 9 | * IDENTIFICATION |
10 | | - * $PostgreSQL: pgsql/src/port/exec.c,v 1.27 2004/09/2722:11:23 momjian Exp $ |
| 10 | + * $PostgreSQL: pgsql/src/port/exec.c,v 1.28 2004/09/2723:58:09 momjian Exp $ |
11 | 11 | * |
12 | 12 | *------------------------------------------------------------------------- |
13 | 13 | */ |
|
22 | 22 | #include<pwd.h> |
23 | 23 | #include<sys/stat.h> |
24 | 24 | #include<sys/wait.h> |
25 | | -#if !defined(_MSC_VER)&& !defined(__BORLANDC__) |
| 25 | +#ifndefWIN32_CLIENT_ONLY |
26 | 26 | #include<unistd.h> |
27 | 27 | #endif |
28 | 28 |
|
@@ -178,7 +178,7 @@ find_my_exec(const char *argv0, char *retpath) |
178 | 178 | test_path[MAXPGPATH]; |
179 | 179 | char*path; |
180 | 180 |
|
181 | | -#if !defined(_MSC_VER)&& !defined(__BORLANDC__) |
| 181 | +#ifndefWIN32_CLIENT_ONLY |
182 | 182 | if (!getcwd(cwd,MAXPGPATH)) |
183 | 183 | #else |
184 | 184 | if (!GetCurrentDirectory(MAXPGPATH,cwd)) |
|