aboutsummaryrefslogtreecommitdiff
path: root/src/port/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/port/exec.c')
-rw-r--r--src/port/exec.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/port/exec.c b/src/port/exec.c
index 563d986ec6d..7abc3d650b6 100644
--- a/src/port/exec.c
+++ b/src/port/exec.c
@@ -9,7 +9,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/port/exec.c,v 1.41 2006/03/05 15:59:10 momjian Exp $
+ * $PostgreSQL: pgsql/src/port/exec.c,v 1.42 2006/06/07 22:24:46 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -24,9 +24,7 @@
#include <pwd.h>
#include <sys/stat.h>
#include <sys/wait.h>
-#ifndef WIN32_CLIENT_ONLY
#include <unistd.h>
-#endif
#ifndef S_IRUSR /* XXX [TRH] should be in a header */
#define S_IRUSR S_IREAD
@@ -48,7 +46,7 @@
#define log_error(str, param) (fprintf(stderr, str, param), fputc('\n', stderr))
#endif
-#ifdef WIN32_CLIENT_ONLY
+#ifdef WIN32_ONLY_COMPILER
#define getcwd(cwd,len) GetCurrentDirectory(len, cwd)
#endif