Re: [GENERAL] WIN32 Build?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Shoaib Mir" <shoaibmir(at)gmail(dot)com>
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-09 22:22:03
Message-ID: 29943.1155162123@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

"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 Jim C. Nasby 2006-08-09 22:37:42 Re: PITR Questions
Previous Message Jim Nasby 2006-08-09 22:16:11 Re: PITR timeline question

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-08-09 22:39:07 Re: Buildfarm failure on ecpg/test/pgtypeslib
Previous Message Tom Lane 2006-08-09 22:20:08 Re: numerics lose scale and precision in views of unions