mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Remove linux define of __USE_POSIX, which doesn't appear to do anything.
This commit is contained in:
@ -4,7 +4,7 @@
|
|||||||
# Makefile for tcop
|
# Makefile for tcop
|
||||||
#
|
#
|
||||||
# IDENTIFICATION
|
# IDENTIFICATION
|
||||||
# $Header: /cvsroot/pgsql/src/backend/tcop/Makefile,v 1.7 1996/11/14 07:33:34 bryanh Exp $
|
# $Header: /cvsroot/pgsql/src/backend/tcop/Makefile,v 1.8 1996/11/18 02:26:55 bryanh Exp $
|
||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
@ -31,12 +31,23 @@ all: SUBSYS.o
|
|||||||
SUBSYS.o: $(OBJS)
|
SUBSYS.o: $(OBJS)
|
||||||
$(LD) -r -o SUBSYS.o $(OBJS)
|
$(LD) -r -o SUBSYS.o $(OBJS)
|
||||||
|
|
||||||
utility.o: ../parse.h
|
# The following dependencies are picked up by the make dep, but since
|
||||||
|
# not everyone can do make dep, and these are particularly important
|
||||||
|
# dependencies (because they don't even exist until you make them),
|
||||||
|
# they are hardcoded here.
|
||||||
|
|
||||||
|
utility.o: ../parse.h ../fmgr.h
|
||||||
|
aclchk.o: ../fmgr.h
|
||||||
|
fastpath.o: ../fmgr.h
|
||||||
|
postgres.o: ../fmgr.h
|
||||||
|
|
||||||
../parse.h:
|
../parse.h:
|
||||||
$(MAKE) -C .. parse.h
|
$(MAKE) -C .. parse.h
|
||||||
|
|
||||||
dep: ../parse.h
|
../fmgr.h:
|
||||||
|
$(MAKE) -C .. fmgr.h
|
||||||
|
|
||||||
|
dep: ../parse.h ../fmgr.h
|
||||||
$(CC) -MM $(INCLUDE_OPT) *.c >depend
|
$(CC) -MM $(INCLUDE_OPT) *.c >depend
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.20 1996/11/16 09:03:44 bryanh Exp $
|
* $Header: /cvsroot/pgsql/src/backend/tcop/postgres.c,v 1.21 1996/11/18 02:26:57 bryanh Exp $
|
||||||
*
|
*
|
||||||
* NOTES
|
* NOTES
|
||||||
* this is the "main" module of the postgres backend and
|
* this is the "main" module of the postgres backend and
|
||||||
@ -17,12 +17,6 @@
|
|||||||
*/
|
*/
|
||||||
#include "libpq/pqsignal.h" /* substitute for <signal.h> */
|
#include "libpq/pqsignal.h" /* substitute for <signal.h> */
|
||||||
|
|
||||||
#if defined(linux)
|
|
||||||
#ifndef __USE_POSIX
|
|
||||||
#define __USE_POSIX
|
|
||||||
#endif
|
|
||||||
#endif /* defined(linux) */
|
|
||||||
|
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
@ -1268,7 +1262,7 @@ PostgresMain(int argc, char *argv[])
|
|||||||
*/
|
*/
|
||||||
if (IsUnderPostmaster == false) {
|
if (IsUnderPostmaster == false) {
|
||||||
puts("\nPOSTGRES backend interactive interface");
|
puts("\nPOSTGRES backend interactive interface");
|
||||||
puts("$Revision: 1.20 $ $Date: 1996/11/16 09:03:44 $");
|
puts("$Revision: 1.21 $ $Date: 1996/11/18 02:26:57 $");
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ----------------
|
/* ----------------
|
||||||
|
Reference in New Issue
Block a user