]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
[ backpatch]
authorBruce Momjian <bruce@momjian.us>
Tue, 2 Mar 2004 18:38:28 +0000 (18:38 +0000)
committerBruce Momjian <bruce@momjian.us>
Tue, 2 Mar 2004 18:38:28 +0000 (18:38 +0000)
Add missing checks for Borland C compiler.

L J Bayuk

src/port/thread.c

index 7638195417e18bb28f2a472bbd6b5646b77509ae..87c833abf40da9569ae47bbebac12b2d65ad75f0 100644 (file)
@@ -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>