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:
@@ -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
|
||||
|
||||
@@ -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?) */
|
||||
|
||||
@@ -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
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user