mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-03 03:16:54 +02:00
In libpq-fe.h: #if defined(sun) && defined(sparc) && !defined(__svr4)
extern char *sys_errlist[]; #define strerror(A) (sys_errlist[(A)]) #endif /* sunos4 */ is picked up by Solaris when the above is intended only for SunOS. Fix Solaris. Albert Chin-A-Young
This commit is contained in:
parent
f6c0fc1959
commit
e98df1ab29
@ -6,7 +6,7 @@
|
|||||||
*
|
*
|
||||||
* Copyright (c) 1994, Regents of the University of California
|
* Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* $Id: libpq-fe.h,v 1.27 1998/02/26 04:45:15 momjian Exp $
|
* $Id: libpq-fe.h,v 1.28 1998/03/20 04:02:57 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -349,7 +349,7 @@ extern "C"
|
|||||||
#define palloc malloc
|
#define palloc malloc
|
||||||
#define pfree free
|
#define pfree free
|
||||||
|
|
||||||
#if defined(sun) && defined(sparc) && !defined(__svr4)
|
#if defined(sun) && defined(sparc) && !defined(__SVR4)
|
||||||
extern char *sys_errlist[];
|
extern char *sys_errlist[];
|
||||||
#define strerror(A) (sys_errlist[(A)])
|
#define strerror(A) (sys_errlist[(A)])
|
||||||
#endif /* sunos4 */
|
#endif /* sunos4 */
|
||||||
|
Loading…
Reference in New Issue
Block a user