1
0
mirror of https://github.com/postgres/postgres.git synced 2025-10-25 13:17:41 +03:00

The following is required in order to make beta1 compile on the Win32

platform (psql and libpq):

The file "config.h.win32" in the include\ directory (from my patch from
2000-01-18) is missing from the tree. It needs to be put back :-)

The following patch has to be applied in the interfaces\libpq directory.


//Magnus
This commit is contained in:
Bruce Momjian
2000-02-24 15:53:12 +00:00
parent 58f481c4ff
commit ce9f73c162
3 changed files with 5 additions and 2 deletions

View File

@@ -4,6 +4,7 @@
* strcasecmp() is not in Windows, stricmp is, though
*/
#define strcasecmp(a,b) stricmp(a,b)
#define strncasecmp(a,b,c) _strnicmp(a,b,c)
#define SOCKET_SIZE_TYPE int
@@ -16,6 +17,7 @@
#define write(a,b,c) _write(a,b,c)
#define popen(a,b) _popen(a,b)
#define pclose(a) _pclose(a)
#define vsnprintf(a,b,c,d) _vsnprintf(a,b,c,d)
/*
* crypt not available (yet)