mirror of
https://github.com/postgres/postgres.git
synced 2025-10-25 13:17:41 +03:00
The attached patch fixes a number of issues related to compiling the
client utilities (libpq.dll and psql.exe) for win32 (missing defines, adjustments to includes, pedantic casting, non-existent functions) per: http://developer.postgresql.org/docs/postgres/install-win32.html. It compiles cleanly under Windows 2000 using Visual Studio .net. Also compiles clean and passes all regression tests (regular and contrib) under Linux. In addition to a review by the usual suspects, it would be very desirable for someone well versed in the peculiarities of win32 to take a look. Joe Conway
This commit is contained in:
@@ -22,7 +22,7 @@
|
||||
/*
|
||||
* crypt not available (yet)
|
||||
*/
|
||||
#define crypt(a,b) (a)
|
||||
#define crypt(a,b) ((char *) a)
|
||||
|
||||
#undef EAGAIN /* doesn't apply on sockets */
|
||||
#undef EINTR
|
||||
|
||||
Reference in New Issue
Block a user