Commit e98df1ab authored by Bruce Momjian's avatar Bruce Momjian

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
parent f6c0fc19
......@@ -6,7 +6,7 @@
*
* 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 pfree free
#if defined(sun) && defined(sparc) && !defined(__svr4)
#if defined(sun) && defined(sparc) && !defined(__SVR4)
extern char *sys_errlist[];
#define strerror(A) (sys_errlist[(A)])
#endif /* sunos4 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment