From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Steve Holdoway <steve(at)treshna(dot)com> |
Cc: | pgsql-hackers-win32(at)postgresql(dot)org |
Subject: | Re: Borland c++ compile problems... |
Date: | 2004-07-21 03:08:09 |
Message-ID: | 200407210308.i6L389J13710@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers-win32 pgsql-patches |
OK, patch attached that fixes it. Should that define just check for GCC
instead of checking if the compiler isn't MS or Borland?
---------------------------------------------------------------------------
Steve Holdoway wrote:
> Hi folks,
>
> It seems that Borland C++ ( I'm using the command line version 5.5 )
> takes exception to #defines like the following...
>
> #define open(a, b...) win32_open ( a, b, ##__VA_ARGS__ )
> [ to be found in port.h on the current development snapshot ]
>
> This causes compilation to fail. I'm after a version of blibpq.dll that
> supports ssl connections, and the one I compiled previously ( 7.4.2 I
> think ) doesn't seem to.
>
> Can anyone suggest a solution. I speak C fluently... it's this pesky
> windows stuff that causes me grief!
>
> Cheers,
>
> Steve
>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
Attachment | Content-Type | Size |
---|---|---|
unknown_filename | text/plain | 792 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | chips42 | 2004-07-21 03:40:48 | FAT or NTFS on W2k |
Previous Message | Steve Holdoway | 2004-07-21 02:20:33 | Borland c++ compile problems... |
From | Date | Subject | |
---|---|---|---|
Next Message | Philip Warner | 2004-07-21 03:21:58 | Re: Patch for pg_dump: Multiple -t options and new |
Previous Message | Bruce Momjian | 2004-07-21 03:07:19 | Re: logfile subprocess and Fancy File Functions |