1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-19 13:42:17 +03:00

Removed PORTNAME_. Use OS version only.

This commit is contained in:
Bruce Momjian
1996-11-04 04:00:56 +00:00
parent 510ebf75a1
commit 7e42f4814d
17 changed files with 78 additions and 80 deletions

View File

@@ -7,7 +7,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.10 1996/11/03 07:14:29 scrappy Exp $
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.11 1996/11/04 04:00:53 momjian Exp $
#
#-------------------------------------------------------------------------
@@ -71,8 +71,6 @@ c.h: ../include/c.h
rm -f c.h
echo "#undef PORTNAME" > c.h
echo "#define PORTNAME $(PORTNAME)" >> c.h
echo "#undef PORTNAME_$(PORTNAME)" >> c.h
echo "#define PORTNAME_$(PORTNAME)" >> c.h
cat ../include/c.h >> c.h
.PHONY: beforeinstall-headers install-headers

View File

@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.13 1996/11/03 07:14:31 scrappy Exp $
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-connect.c,v 1.14 1996/11/04 04:00:54 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -28,7 +28,7 @@
#include "fe-auth.h"
#include "libpq-fe.h"
#if defined(PORTNAME_ultrix4) || defined(PORTNAME_next)
#if defined(ultrix4) || defined(next)
/* ultrix is lame and doesn't have strdup in libc for some reason */
/* [TRH] So doesn't NEXTSTEP. But whaddaya expect for a non-ANSI
standard function? (My, my. Touchy today, are we?) */

View File

@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: libpq-fe.h,v 1.8 1996/10/10 08:20:11 bryanh Exp $
* $Id: libpq-fe.h,v 1.9 1996/11/04 04:00:56 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -261,10 +261,10 @@ typedef void *TUPLE;
#define palloc malloc
#define pfree free
#if defined(PORTNAME_sparc)
#if defined(sparc)
extern char *sys_errlist[];
#define strerror(A) (sys_errlist[(A)])
#endif /* PORTNAME_sparc */
#endif /* sparc */
#ifdef __cplusplus
};