1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-07 00:36:50 +03:00

Add new macro as shorthand for MS VC and Borland C++:

+ #if   defined(_MSC_VER) || defined(__BORLANDC__)
+ #define       WIN32_CLIENT_ONLY
+ #endif
This commit is contained in:
Bruce Momjian
2004-09-27 23:24:45 +00:00
parent e017051006
commit e1c8b37afb
11 changed files with 31 additions and 28 deletions

View File

@ -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