I have applied the attached patch to fix your ssize_t problem under
Borland CC.  Plesae test.  I am now looking at your linking issue.

-- 
  Bruce Momjian  <[EMAIL PROTECTED]>        http://momjian.us
  EnterpriseDB                             http://postgres.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +
Index: src/include/port/win32.h
===================================================================
RCS file: /cvsroot/pgsql/src/include/port/win32.h,v
retrieving revision 1.79
diff -c -c -r1.79 win32.h
*** src/include/port/win32.h	15 Nov 2007 21:14:44 -0000	1.79
--- src/include/port/win32.h	24 Nov 2007 01:29:47 -0000
***************
*** 280,287 ****
  
  /* Things that exist in MingW headers, but need to be added to MSVC */
  #ifdef WIN32_ONLY_COMPILER
- #ifndef __BORLANDC__
  typedef long ssize_t;
  typedef unsigned short mode_t;
  #endif
  
--- 280,287 ----
  
  /* Things that exist in MingW headers, but need to be added to MSVC */
  #ifdef WIN32_ONLY_COMPILER
  typedef long ssize_t;
+ #ifndef __BORLANDC__
  typedef unsigned short mode_t;
  #endif
  
---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Reply via email to