aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2004-07-21 03:07:40 +0000
committerBruce Momjian <bruce@momjian.us>2004-07-21 03:07:40 +0000
commitfd7c3f67e0bc456e42223cc5a632f3d6ab983a9f (patch)
tree386fb391f574421110486a4bd97c7e79754e7e9d /src
parent53cee20f673920fc5ca23c70fb8ad702e5f6eca4 (diff)
downloadpostgresql-fd7c3f67e0bc456e42223cc5a632f3d6ab983a9f.tar.gz
postgresql-fd7c3f67e0bc456e42223cc5a632f3d6ab983a9f.zip
Allow borland compiles.
Diffstat (limited to 'src')
-rw-r--r--src/include/port.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/port.h b/src/include/port.h
index c6ba9e82a48..c3e63310a97 100644
--- a/src/include/port.h
+++ b/src/include/port.h
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/port.h,v 1.43 2004/06/11 16:10:09 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/port.h,v 1.44 2004/07/21 03:07:40 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -151,7 +151,7 @@ extern int pgunlink(const char *path);
#ifdef WIN32
/* open() replacement to allow delete of held files */
-#ifndef _MSC_VER
+#if !defined(_MSC_VER) && !defined(__BORLANDC__)
extern int win32_open(const char*,int,...);
#define open(a,b,...) win32_open(a,b,##__VA_ARGS__)
#endif