File tree 3 files changed +13
-13
lines changed
3 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 7
7
*
8
8
*
9
9
* IDENTIFICATION
10
- * $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.3 1996/10/28 09:03:50 bryanh Exp $
10
+ * $Header: /cvsroot/pgsql/src/backend/libpq/hba.c,v 1.4 1996/10/31 10:16:08 scrappy Exp $
11
11
*
12
12
*-------------------------------------------------------------------------
13
13
*/
19
19
#include <sys/socket.h>
20
20
#include <netinet/in.h>
21
21
#include <arpa/inet.h>
22
- #if PORTNAME == sparc_solaris
22
+ #if defined( sparc_solaris )
23
23
#include <port/inet_aton.h>
24
24
#endif
25
25
Original file line number Diff line number Diff line change 7
7
*
8
8
*
9
9
* IDENTIFICATION
10
- * $Header: /cvsroot/pgsql/src/backend/libpq/pqcomm.c,v 1.2 1996/07/23 02:23:25 scrappy Exp $
10
+ * $Header: /cvsroot/pgsql/src/backend/libpq/pqcomm.c,v 1.3 1996/10/31 10:16:09 scrappy Exp $
11
11
*
12
12
*-------------------------------------------------------------------------
13
13
*/
49
49
#include <errno.h>
50
50
#include <fcntl.h>
51
51
52
- #ifdef PORTNAME_linux
52
+ #if defined( linux )
53
53
#ifndef SOMAXCONN
54
54
#define SOMAXCONN 5 /* from Linux listen(2) man page */
55
55
#endif /* SOMAXCONN */
56
- #endif /* PORTNAME_linux */
56
+ #endif /* linux */
57
57
58
58
#include "c.h"
59
59
#include "libpq/auth.h"
@@ -491,11 +491,11 @@ pq_regoob(void (*fptr)())
491
491
return ;
492
492
#else
493
493
int fd = fileno (Pfout );
494
- #ifdef PORTNAME_hpux
494
+ #if defined( hpux )
495
495
ioctl (fd , FIOSSAIOOWN , getpid ());
496
- #else /* PORTNAME_hpux */
496
+ #else /* hpux */
497
497
fcntl (fd , F_SETOWN , getpid ());
498
- #endif /* PORTNAME_hpux */
498
+ #endif /* hpux */
499
499
(void ) signal (SIGURG ,fptr );
500
500
#endif /* WIN32 */
501
501
}
Original file line number Diff line number Diff line change 7
7
*
8
8
*
9
9
* IDENTIFICATION
10
- * $Header: /cvsroot/pgsql/src/backend/optimizer/path/costsize.c,v 1.4 1996/10/31 05:53:52 momjian Exp $
10
+ * $Header: /cvsroot/pgsql/src/backend/optimizer/path/costsize.c,v 1.5 1996/10/31 10:17:09 scrappy Exp $
11
11
*
12
12
*-------------------------------------------------------------------------
13
13
*/
17
17
#include <limits.h>
18
18
#define MAXINT INT_MAX
19
19
#else
20
- # if defined(PORTNAME_BSD44_derived ) || \
21
- defined(PORTNAME_bsdi ) || \
22
- defined(PORTNAME_bsdi_2_1 )
20
+ # if defined(BSD44_derived ) || \
21
+ defined(bsdi ) || \
22
+ defined(bsdi_2_1 )
23
23
# include <machine/limits.h>
24
24
# define MAXINT INT_MAX
25
25
# else
26
26
# include <values.h>
27
- # endif /* !PORTNAME_BSD44_derived */
27
+ # endif /* !BSD44_derived */
28
28
#endif /* WIN32 */
29
29
30
30
#include "postgres.h"
You can’t perform that action at this time.
0 commit comments