| From: | "Qingqing Zhou" <zhouqq(at)cs(dot)toronto(dot)edu> |
|---|---|
| To: | pgsql-patches(at)postgresql(dot)org |
| Subject: | Re: Building with Visual C++ |
| Date: | 2006-04-24 02:20:28 |
| Message-ID: | e2hcrs$1fru$1@news.hub.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-patches |
""Magnus Hagander"" <mha(at)sollentuna(dot)net> wrote
> I've been working on getting the full backend to compile and run using
> Visual C++ instead of mingw/gcc, and have made some good progress.
>
This is great!
> *) Add s_lock implementation based on InterlockedCompareExchange instead
> of assembly code (gcc style asm not supported, and this should probably
> be about as fast from what I hear)
_InterlockedCompareExchange is even better IMHO ...
> src/port/dirent.c - opendir/readdir/closedir implementation for win32,
> that doesn't even have the bugs mingw had in it ;)
But seems it has a typo ;-) Check out this line:
errno = GetLastError();
Regards,
Qingqing
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2006-04-24 02:58:31 | Re: Additional current timestamp values |
| Previous Message | Tom Lane | 2006-04-23 23:41:16 | Re: Building with Visual C++ |