Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite2a8163

Browse files
author
Bryan Henderson
committed
Remove linux define of __USE_POSIX, which doesn't appear to do anything.
1 parentb55d49f commite2a8163

File tree

2 files changed

+16
-11
lines changed

2 files changed

+16
-11
lines changed

‎src/backend/tcop/Makefile

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Makefile for tcop
55
#
66
# IDENTIFICATION
7-
# $Header: /cvsroot/pgsql/src/backend/tcop/Makefile,v 1.7 1996/11/14 07:33:34 bryanh Exp $
7+
# $Header: /cvsroot/pgsql/src/backend/tcop/Makefile,v 1.8 1996/11/18 02:26:55 bryanh Exp $
88
#
99
#-------------------------------------------------------------------------
1010

@@ -31,12 +31,23 @@ all: SUBSYS.o
3131
SUBSYS.o:$(OBJS)
3232
$(LD) -r -o SUBSYS.o$(OBJS)
3333

34-
utility.o: ../parse.h
34+
# The following dependencies are picked up by the make dep, but since
35+
# not everyone can do make dep, and these are particularly important
36+
# dependencies (because they don't even exist until you make them),
37+
# they are hardcoded here.
38+
39+
utility.o: ../parse.h ../fmgr.h
40+
aclchk.o: ../fmgr.h
41+
fastpath.o: ../fmgr.h
42+
postgres.o: ../fmgr.h
3543

3644
../parse.h:
3745
$(MAKE) -C .. parse.h
3846

39-
dep: ../parse.h
47+
../fmgr.h:
48+
$(MAKE) -C .. fmgr.h
49+
50+
dep: ../parse.h ../fmgr.h
4051
$(CC) -MM$(INCLUDE_OPT)*.c>depend
4152

4253
clean:

‎src/backend/tcop/postgres.c

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.20 1996/11/16 09:03:44 bryanh Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.21 1996/11/18 02:26:57 bryanh Exp $
1111
*
1212
* NOTES
1313
* this is the "main" module of the postgres backend and
@@ -17,12 +17,6 @@
1717
*/
1818
#include"libpq/pqsignal.h"/* substitute for <signal.h> */
1919

20-
#if defined(linux)
21-
#ifndef__USE_POSIX
22-
#define__USE_POSIX
23-
#endif
24-
#endif/* defined(linux) */
25-
2620
#include<unistd.h>
2721
#include<stdio.h>
2822
#include<string.h>
@@ -1268,7 +1262,7 @@ PostgresMain(int argc, char *argv[])
12681262
*/
12691263
if (IsUnderPostmaster== false) {
12701264
puts("\nPOSTGRES backend interactive interface");
1271-
puts("$Revision: 1.20 $ $Date: 1996/11/16 09:03:44 $");
1265+
puts("$Revision: 1.21 $ $Date: 1996/11/18 02:26:57 $");
12721266
}
12731267

12741268
/* ----------------

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp