Re: [PATCH] PostgreSQL fails to build with 32bit MinGW-w64
NISHIYAMA Tomoaki <tomoakin@staff.kanazawa-u.ac.jp>
From: NISHIYAMA Tomoaki <tomoakin@staff.kanazawa-u.ac.jp>
To: Andrew Dunstan <andrew@dunslane.net>, pgsql-hackers@postgresql.org
Cc: NISHIYAMA Tomoaki <tomoakin@staff.kanazawa-u.ac.jp>
Date: 2011-11-27T14:18:45Z
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
Hi, >>>> +/* __MINGW64_VERSION_MAJOR is related to both 32/64 bit gcc compiles by >>>> + * mingw-w64, however it gots defined only after >>>> Why not use __MINGW32__, which is defined without including any headers? >> >> Because it's defined by other than mingw-w64 compilers. > > I see. That's because mingw (not -w64). > Should it be ok if mingw is ok with that condition? This really breaks mingw gcc 4.6.1 :( it does not have crtdefs.h) If moving downward do not break MSVC, perhaps its the good way. Otherwise, we might check for the presence of crtdefs.h with configure?