Remove linux define of __USE_POSIX, which doesn't appear to do anything.

This commit is contained in:
Bryan Henderson 1996-11-18 02:26:57 +00:00
parent b55d49f5fe
commit e2a8163c40
2 changed files with 16 additions and 11 deletions

View File

@ -4,7 +4,7 @@
# Makefile for tcop
#
# 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)
$(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:
$(MAKE) -C .. parse.h
dep: ../parse.h
../fmgr.h:
$(MAKE) -C .. fmgr.h
dep: ../parse.h ../fmgr.h
$(CC) -MM $(INCLUDE_OPT) *.c >depend
clean:

View File

@ -7,7 +7,7 @@
*
*
* 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
* this is the "main" module of the postgres backend and
@ -17,12 +17,6 @@
*/
#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 <stdio.h>
#include <string.h>
@ -1268,7 +1262,7 @@ PostgresMain(int argc, char *argv[])
*/
if (IsUnderPostmaster == false) {
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 $");
}
/* ----------------