Re: [GENERAL] WIN32 Build?

From: "Hiroshi Saito" <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp>
To: "Shoaib Mir" <shoaibmir(at)gmail(dot)com>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Bruce Momjian" <bruce(at)momjian(dot)us>, "DEV" <dev(at)umpa-us(dot)com>, <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [GENERAL] WIN32 Build?
Date: 2006-08-10 01:04:04
Message-ID: 008201c6bc18$e4100550$66c5c83d@IBMC4B5932F74B
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Hi.

Probably, the problem is happened in 8.1.4 of an official archive.
http://archives.postgresql.org/pgsql-patches/2006-05/msg00232.php

It is already clear at include/port/win32.h.
And it is used as pg_config_os.h.

Regards,
Hiroshi Saito

----- Original Message -----
From: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>

> "Shoaib Mir" <shoaibmir(at)gmail(dot)com> writes:
>> As a workaround if you dont want to make the change and delete "inline" from
>> wchar.c then you can do the following change in the win32.mak file for
>> libpq:
>
>> "WIN32" /D "_WINDOWS" /D "inline=__inline" /Fp"$(INTDIR)\libpq.pch" /YX\
>
> That's even stranger: it will accept __inline but not inline?
>
> But anyway, if that works I suggest we make pg_config.h.win32 #define
> inline as __inline and see if that works on all Windows compilers.
>
> regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2006-08-10 01:46:58 Re: [GENERAL] WIN32 Build?
Previous Message Ron Johnson 2006-08-09 23:57:04 Re: Importance of re-index

Browse pgsql-hackers by date

  From Date Subject
Next Message Gene 2006-08-10 01:31:49 Re: [HACKERS] Maintaining cluster order on insert
Previous Message Tom Lane 2006-08-10 00:12:17 Re: [BUGS] numerics lose scale and precision in views of unions