Commit dd67707a authored by Bruce Momjian's avatar Bruce Momjian

Small WIN32_CLIENT_ONLY cleanup for new build patch.

parent b534a560
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * 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 @@ ...@@ -22,7 +22,7 @@
#include <pwd.h> #include <pwd.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/wait.h> #include <sys/wait.h>
#if !defined(_MSC_VER) && !defined(__BORLANDC__) #ifndef WIN32_CLIENT_ONLY
#include <unistd.h> #include <unistd.h>
#endif #endif
...@@ -178,7 +178,7 @@ find_my_exec(const char *argv0, char *retpath) ...@@ -178,7 +178,7 @@ find_my_exec(const char *argv0, char *retpath)
test_path[MAXPGPATH]; test_path[MAXPGPATH];
char *path; char *path;
#if !defined(_MSC_VER) && !defined(__BORLANDC__) #ifndef WIN32_CLIENT_ONLY
if (!getcwd(cwd, MAXPGPATH)) if (!getcwd(cwd, MAXPGPATH))
#else #else
if (!GetCurrentDirectory(MAXPGPATH, cwd)) if (!GetCurrentDirectory(MAXPGPATH, cwd))
......
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