summaryrefslogtreecommitdiff
path: root/src/port/exec.c
diff options
context:
space:
mode:
authorBruce Momjian2004-09-27 23:58:09 +0000
committerBruce Momjian2004-09-27 23:58:09 +0000
commitdd67707a64070532c12a7a2b51f629c64fe7ae99 (patch)
tree758ae34bcca1cc7bafb23c0e4a547fd6b901a94f /src/port/exec.c
parentb534a5605f32df19e903eeb35d7632ffe7c0a0a3 (diff)
Small WIN32_CLIENT_ONLY cleanup for new build patch.
Diffstat (limited to 'src/port/exec.c')
-rw-r--r--src/port/exec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/port/exec.c b/src/port/exec.c
index 3958e78781a..7d623a25d7d 100644
--- a/src/port/exec.c
+++ b/src/port/exec.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/port/exec.c,v 1.27 2004/09/27 22:11:23 momjian Exp $
+ * $PostgreSQL: pgsql/src/port/exec.c,v 1.28 2004/09/27 23:58:09 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -22,7 +22,7 @@
#include <pwd.h>
#include <sys/stat.h>
#include <sys/wait.h>
-#if !defined(_MSC_VER) && !defined(__BORLANDC__)
+#ifndef WIN32_CLIENT_ONLY
#include <unistd.h>
#endif
@@ -178,7 +178,7 @@ find_my_exec(const char *argv0, char *retpath)
test_path[MAXPGPATH];
char *path;
-#if !defined(_MSC_VER) && !defined(__BORLANDC__)
+#ifndef WIN32_CLIENT_ONLY
if (!getcwd(cwd, MAXPGPATH))
#else
if (!GetCurrentDirectory(MAXPGPATH, cwd))