Re: [PATCH] PostgreSQL fails to build with 32bit MinGW-w64
Magnus Hagander <magnus@hagander.net>
From: Magnus Hagander <magnus@hagander.net>
To: NISHIYAMA Tomoaki <tomoakin@staff.kanazawa-u.ac.jp>
Cc: pgsql-hackers@postgresql.org, Andrew Dunstan <andrew@dunslane.net>
Date: 2011-12-03T14:59:46Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Remove troublesome Asserts in cost_mergejoin().
- ff68b256a533 9.2.0 cited
-
Enable building with the Mingw64 compiler.
- 91812df4ed0f 9.1.0 cited
On Sat, Dec 3, 2011 at 15:49, NISHIYAMA Tomoaki <tomoakin@staff.kanazawa-u.ac.jp> wrote: > Hi, > >> Have you verified if tihs affects _MSC_VER < 1400? Suddently that >> branch would care about HAVE_CRTDEFS_H, and I'm not sure if that's >> something we need to worry about. > > > I have no MSVC. In that sense it is not verified in fact, and I hope > those who knows well would kindly comment on it. > > However, it appears that pg_config.h is not created through > configure, but just copied from pg_config.h.win32 in those > compilers and thus HAVE_CRTDEFS_H will not be defined. > So, I think this code fragment will not be enabled in > _MSC_VER < 1400 Hmm, true. Unless HAVE_CRTDEFS_H is defined by the sytem, which it likely isn't - I was confusing it with the kind of defines that MSVC tends to stick in their own headerfiles, and thought that's what you were testing for. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/