diff options
Diffstat (limited to 'src/backend')
-rw-r--r-- | src/backend/libpq/ip.c | 8 | ||||
-rw-r--r-- | src/backend/utils/mb/encnames.c | 4 |
2 files changed, 5 insertions, 7 deletions
diff --git a/src/backend/libpq/ip.c b/src/backend/libpq/ip.c index 78a63728544..74bcda8eb1b 100644 --- a/src/backend/libpq/ip.c +++ b/src/backend/libpq/ip.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/libpq/ip.c,v 1.28 2004/08/29 05:06:43 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/libpq/ip.c,v 1.29 2004/09/27 23:24:30 momjian Exp $ * * This file and the IPV6 implementation were initially provided by * Nigel Kukard <nkukard@lbsd.net>, Linux Based Systems Design @@ -20,8 +20,7 @@ /* This is intended to be used in both frontend and backend, so use c.h */ #include "c.h" -#if !defined(_MSC_VER) && !defined(__BORLANDC__) - +#ifndef WIN32_CLIENT_ONLY #include <errno.h> #include <unistd.h> #include <sys/types.h> @@ -34,8 +33,7 @@ #endif #include <arpa/inet.h> #include <sys/file.h> -#endif /* !defined(_MSC_VER) && - * !defined(__BORLANDC__) */ +#endif #include "libpq/ip.h" diff --git a/src/backend/utils/mb/encnames.c b/src/backend/utils/mb/encnames.c index 634861a2053..a3260fd61c4 100644 --- a/src/backend/utils/mb/encnames.c +++ b/src/backend/utils/mb/encnames.c @@ -2,7 +2,7 @@ * Encoding names and routines for work with it. All * in this file is shared bedween FE and BE. * - * $PostgreSQL: pgsql/src/backend/utils/mb/encnames.c,v 1.19 2004/09/17 21:59:57 petere Exp $ + * $PostgreSQL: pgsql/src/backend/utils/mb/encnames.c,v 1.20 2004/09/27 23:24:33 momjian Exp $ */ #ifdef FRONTEND #include "postgres_fe.h" @@ -13,7 +13,7 @@ #include "utils/builtins.h" #endif -#if !defined(_MSC_VER) && !defined(__BORLANDC__) +#ifndef WIN32_CLIENT_ONLY #include <unistd.h> #endif |