diff options
author | Bruce Momjian | 2004-03-02 18:38:28 +0000 |
---|---|---|
committer | Bruce Momjian | 2004-03-02 18:38:28 +0000 |
commit | aff13a97148d227ebd4dd9986285a5e5b23a0595 (patch) | |
tree | 73a7e8812f0ce5e80bf0ee866ff4b35d73e498d8 | |
parent | 887a1365720ac8634fc61f8cedefb725b410e476 (diff) |
[ backpatch]
Add missing checks for Borland C compiler.
L J Bayuk
-rw-r--r-- | src/port/thread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/port/thread.c b/src/port/thread.c index 7638195417e..87c833abf40 100644 --- a/src/port/thread.c +++ b/src/port/thread.c @@ -7,7 +7,7 @@ * * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group * - * $Id: thread.c,v 1.12.2.1 2003/11/24 13:11:27 petere Exp $ + * $Id: thread.c,v 1.12.2.2 2004/03/02 18:38:28 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -16,7 +16,7 @@ #include <sys/types.h> #include <errno.h> -#if defined(WIN32) && defined(_MSC_VER) +#if defined(WIN32) && (defined(_MSC_VER) || defined(__BORLANDC__)) #undef ERROR #else #include <pwd.h> |