aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1999-07-13 20:00:37 +0000
committerBruce Momjian <bruce@momjian.us>1999-07-13 20:00:37 +0000
commit540c114225c868d06a856836f1f7734c58f6dfef (patch)
treebda0e5f38d0c7792a8a3d8491096c1e7ba34414e /src/interfaces
parent0ab1c117e8ab73acf4e71e42ca874da872522134 (diff)
downloadpostgresql-540c114225c868d06a856836f1f7734c58f6dfef.tar.gz
postgresql-540c114225c868d06a856836f1f7734c58f6dfef.zip
Redefine cpu's as __cpu__. Only for 6.6 branch.
Diffstat (limited to 'src/interfaces')
-rw-r--r--src/interfaces/libpq/libpq-int.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/libpq/libpq-int.h b/src/interfaces/libpq/libpq-int.h
index ac56e2711ab..f3b788dd930 100644
--- a/src/interfaces/libpq/libpq-int.h
+++ b/src/interfaces/libpq/libpq-int.h
@@ -11,7 +11,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: libpq-int.h,v 1.9 1999/05/25 22:43:49 momjian Exp $
+ * $Id: libpq-int.h,v 1.10 1999/07/13 20:00:37 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -278,7 +278,7 @@ extern int pqWait(int forRead, int forWrite, PGconn *conn);
/* supply an implementation of strerror() macro if system doesn't have it */
#ifndef strerror
-#if defined(sun) && defined(sparc) && !defined(__SVR4)
+#if defined(sun) && defined(__sparc__) && !defined(__SVR4)
extern char *sys_errlist[];
#define strerror(A) (sys_errlist[(A)])