aboutsummaryrefslogtreecommitdiff
path: root/src/include/c.h
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1998-02-24 06:04:55 +0000
committerMarc G. Fournier <scrappy@hub.org>1998-02-24 06:04:55 +0000
commit96316211c3a1300b304d452e09c726fb775aa502 (patch)
treea203f10d49c05fd7de22693f481685ab15a047b8 /src/include/c.h
parent712e77e3dfbec79695da94ec7f64762f0555cfb2 (diff)
downloadpostgresql-96316211c3a1300b304d452e09c726fb775aa502.tar.gz
postgresql-96316211c3a1300b304d452e09c726fb775aa502.zip
From: t-ishii@sra.co.jp
Ok. I have decided to use: #if defined(sun) && if defined(sparc) && !defined(__svr4) instead of defined(sunos4). interfaces/libpq/libpq-fe.h and include/c.h have been modified(see included patches). Another porblems I have found are: o SunOS lacks strtoul(). to fix this I stole strtoul.c from FreeBSD and place it under backend/port. necessary modifications have been also made to backend/port/Makefile.in, include/config.h.in and configure.in (see included patches).
Diffstat (limited to 'src/include/c.h')
-rw-r--r--src/include/c.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/c.h b/src/include/c.h
index 0da7efdf57d..fbb6dba546b 100644
--- a/src/include/c.h
+++ b/src/include/c.h
@@ -7,7 +7,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: c.h,v 1.34 1998/02/12 01:50:01 momjian Exp $
+ * $Id: c.h,v 1.35 1998/02/24 06:04:35 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
@@ -792,7 +792,7 @@ extern char *form(const char *fmt,...);
#endif /* hpux */
#endif
-#if defined(sunos4)
+#if defined(sun) && defined(sparc) && !defined(__svr4)
#define memmove(d, s, l) bcopy(s, d, l)
#include <unistd.h>
#endif