summaryrefslogtreecommitdiff
path: root/src/include/port
diff options
context:
space:
mode:
authorBruce Momjian2004-03-02 18:35:59 +0000
committerBruce Momjian2004-03-02 18:35:59 +0000
commit24262be5f980acc3afde3acc6fc663490b20f740 (patch)
treed412571349d0adfb9f56d052cf2683815214876b /src/include/port
parent03e2a47e0bf11fd8ec33d0a4b302347c5a765e7e (diff)
Add missing checks for Borland C compiler.
L J Bayuk
Diffstat (limited to 'src/include/port')
-rw-r--r--src/include/port/win32.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/port/win32.h b/src/include/port/win32.h
index ddc3982a15d..f2519681c29 100644
--- a/src/include/port/win32.h
+++ b/src/include/port/win32.h
@@ -1,4 +1,4 @@
-/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.19 2004/02/23 20:48:03 tgl Exp $ */
+/* $PostgreSQL: pgsql/src/include/port/win32.h,v 1.20 2004/03/02 18:35:59 momjian Exp $ */
/* undefine and redefine after #include */
#undef mkdir
@@ -27,7 +27,7 @@
#define DLLIMPORT __declspec (dllimport)
#endif
-#elif defined(WIN32) && defined(_MSC_VER) /* not CYGWIN or MingW */
+#elif defined(WIN32) && (defined(_MSC_VER) || defined(__BORLANDC__)) /* not CYGWIN or MingW */
#if defined(_DLL)
#define DLLIMPORT __declspec (dllexport)