Re: [GENERAL] WIN32 Build? - Mailing list pgsql-hackers

From Hiroshi Saito
Subject Re: [GENERAL] WIN32 Build?
Date
Msg-id 008201c6bc18$e4100550$66c5c83d@IBMC4B5932F74B
Whole thread Raw
In response to Re: [GENERAL] WIN32 Build?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [GENERAL] WIN32 Build?
List 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@sss.pgh.pa.us>


> "Shoaib Mir" <shoaibmir@gmail.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



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [BUGS] numerics lose scale and precision in views of unions
Next
From: Gene
Date:
Subject: Re: [PATCHES] Maintaining cluster order on insert