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

From Tom Lane
Subject Re: [GENERAL] WIN32 Build?
Date
Msg-id 29943.1155162123@sss.pgh.pa.us
Whole thread Raw
List pgsql-hackers
"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: Tom Lane
Date:
Subject: Re: Buildfarm failure on ecpg/test/pgtypeslib