Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit e98df1a

Browse files
committed
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
1 parent f6c0fc1 commit e98df1a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/interfaces/libpq/libpq-fe.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: libpq-fe.h,v 1.27 1998/02/26 04:45:15 momjian Exp $
9+
* $Id: libpq-fe.h,v 1.28 1998/03/20 04:02:57 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -349,7 +349,7 @@ extern "C"
349349
#define palloc malloc
350350
#define pfree free
351351

352-
#if defined(sun) && defined(sparc) && !defined(__svr4)
352+
#if defined(sun) && defined(sparc) && !defined(__SVR4)
353353
extern char *sys_errlist[];
354354
#define strerror(A) (sys_errlist[(A)])
355355
#endif /* sunos4 */

0 commit comments

Comments
 (0)