mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	remove use of PORTNAME_*
This commit is contained in:
		@@ -7,7 +7,7 @@
 | 
			
		||||
 *
 | 
			
		||||
 *
 | 
			
		||||
 * IDENTIFICATION
 | 
			
		||||
 *    $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.3 1996/10/28 09:03:50 bryanh Exp $
 | 
			
		||||
 *    $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.4 1996/10/31 10:16:08 scrappy Exp $
 | 
			
		||||
 *
 | 
			
		||||
 *-------------------------------------------------------------------------
 | 
			
		||||
 */
 | 
			
		||||
@@ -19,7 +19,7 @@
 | 
			
		||||
#include <sys/socket.h>
 | 
			
		||||
#include <netinet/in.h>
 | 
			
		||||
#include <arpa/inet.h>
 | 
			
		||||
#if PORTNAME == sparc_solaris
 | 
			
		||||
#if defined(sparc_solaris)
 | 
			
		||||
#include <port/inet_aton.h>
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -7,7 +7,7 @@
 | 
			
		||||
 *
 | 
			
		||||
 *
 | 
			
		||||
 * IDENTIFICATION
 | 
			
		||||
 *    $Header: /cvsroot/pgsql/src/backend/libpq/pqcomm.c,v 1.2 1996/07/23 02:23:25 scrappy Exp $
 | 
			
		||||
 *    $Header: /cvsroot/pgsql/src/backend/libpq/pqcomm.c,v 1.3 1996/10/31 10:16:09 scrappy Exp $
 | 
			
		||||
 *
 | 
			
		||||
 *-------------------------------------------------------------------------
 | 
			
		||||
 */
 | 
			
		||||
@@ -49,11 +49,11 @@
 | 
			
		||||
#include <errno.h>
 | 
			
		||||
#include <fcntl.h>
 | 
			
		||||
 | 
			
		||||
#ifdef PORTNAME_linux
 | 
			
		||||
#if defined(linux)
 | 
			
		||||
#ifndef SOMAXCONN
 | 
			
		||||
#define SOMAXCONN 5		/* from Linux listen(2) man page */
 | 
			
		||||
#endif /* SOMAXCONN */
 | 
			
		||||
#endif /* PORTNAME_linux */
 | 
			
		||||
#endif /* linux */
 | 
			
		||||
 | 
			
		||||
#include "c.h"
 | 
			
		||||
#include "libpq/auth.h"
 | 
			
		||||
@@ -491,11 +491,11 @@ pq_regoob(void (*fptr)())
 | 
			
		||||
    return;
 | 
			
		||||
#else
 | 
			
		||||
    int fd = fileno(Pfout);
 | 
			
		||||
#ifdef PORTNAME_hpux
 | 
			
		||||
#if defined(hpux)
 | 
			
		||||
    ioctl(fd, FIOSSAIOOWN, getpid());
 | 
			
		||||
#else /* PORTNAME_hpux */
 | 
			
		||||
#else /* hpux */
 | 
			
		||||
    fcntl(fd, F_SETOWN, getpid());
 | 
			
		||||
#endif /* PORTNAME_hpux */
 | 
			
		||||
#endif /* hpux */
 | 
			
		||||
    (void) signal(SIGURG,fptr);
 | 
			
		||||
#endif /* WIN32 */    
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user