summaryrefslogtreecommitdiff
path: root/src/bin/psql/print.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2004-09-27 23:24:45 +0000
committerBruce Momjian <bruce@momjian.us>2004-09-27 23:24:45 +0000
commite1c8b37afb5669542272585245b0706fcad174da (patch)
tree66a2fef74da786dd1f0636f038c639bd6fce94b2 /src/bin/psql/print.c
parente0170510062d49ca79666e944803272b4dd5f711 (diff)
Add new macro as shorthand for MS VC and Borland C++:
+ #if defined(_MSC_VER) || defined(__BORLANDC__) + #define WIN32_CLIENT_ONLY + #endif
Diffstat (limited to 'src/bin/psql/print.c')
-rw-r--r--src/bin/psql/print.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/psql/print.c b/src/bin/psql/print.c
index f4347252690..ede51f2f136 100644
--- a/src/bin/psql/print.c
+++ b/src/bin/psql/print.c
@@ -3,7 +3,7 @@
*
* Copyright (c) 2000-2004, PostgreSQL Global Development Group
*
- * $PostgreSQL: pgsql/src/bin/psql/print.c,v 1.51 2004/08/29 05:06:54 momjian Exp $
+ * $PostgreSQL: pgsql/src/bin/psql/print.c,v 1.52 2004/09/27 23:24:35 momjian Exp $
*/
#include "postgres_fe.h"
#include "common.h"
@@ -12,7 +12,7 @@
#include <math.h>
#include <signal.h>
-#if !defined(_MSC_VER) && !defined(__BORLANDC__)
+#ifndef WIN32_CLIENT_ONLY
#include <unistd.h>
#endif