mirror of
https://github.com/postgres/postgres.git
synced 2025-10-25 13:17:41 +03:00
Attached is a patch to provide makefiles, etc. to allow the compilation
of the libpq interface static and dynamic libraries with the freely downloadable Borland C++ compiler version 5.5 and/or C++ Builder. Lester Godwin
This commit is contained in:
@@ -10,10 +10,18 @@
|
||||
/*
|
||||
* Some other compat functions
|
||||
*/
|
||||
#ifdef __BORLANDC__
|
||||
#define _timeb timeb
|
||||
#define _ftime(a) ftime(a)
|
||||
#define _strnicmp(a,b,c) strnicmp(a,b,c)
|
||||
#define _errno errno
|
||||
#else
|
||||
#define open(a,b,c) _open(a,b,c)
|
||||
#define close(a) _close(a)
|
||||
#define read(a,b,c) _read(a,b,c)
|
||||
#define write(a,b,c) _write(a,b,c)
|
||||
#endif
|
||||
|
||||
#define popen(a,b) _popen(a,b)
|
||||
#define pclose(a) _pclose(a)
|
||||
#define vsnprintf(a,b,c,d) _vsnprintf(a,b,c,d)
|
||||
|
||||
Reference in New Issue
Block a user