aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1996-10-04 20:20:57 +0000
committerMarc G. Fournier <scrappy@hub.org>1996-10-04 20:20:57 +0000
commitff25e44d0305385a505bdc69d60548646a62bc1b (patch)
tree57031323ba8d85a39e04e3d88d8da753de9e7867 /src
parentf8009e178605d986055d6d7fd9487a69e6d1dd1d (diff)
downloadpostgresql-ff25e44d0305385a505bdc69d60548646a62bc1b.tar.gz
postgresql-ff25e44d0305385a505bdc69d60548646a62bc1b.zip
Moved the define of SIGNAL_ARGS that D'Arcy just created to config.h so that
hopefully this sort of thing can eventually be determined using configure?
Diffstat (limited to 'src')
-rw-r--r--src/include/config.h10
-rw-r--r--src/mk/postgres.mk14
2 files changed, 11 insertions, 13 deletions
diff --git a/src/include/config.h b/src/include/config.h
index 2191ffafdd4..be658ce0a80 100644
--- a/src/include/config.h
+++ b/src/include/config.h
@@ -32,6 +32,16 @@
# define NO_VFORK
#endif
+# The following is used as the arg list for signal handlers. Any ports
+# that take something other than an int argument should change this in
+# the port specific makefile. Note that variable names are required
+# because it is used in both the prototypes as well as the definitions.
+# Note also the long name. We expect that this won't collide with
+# other names causing compiler warnings.
+#ifndef SIGNAL_ARGS
+#define SIGNAL_ARGS int postgres_signal_arg
+#endif
+
/*
* On architectures for which we have not implemented spinlocks (or
* cannot do so), we use System V semaphores. We also use them for
diff --git a/src/mk/postgres.mk b/src/mk/postgres.mk
index 06ac466f50b..25f9db90b99 100644
--- a/src/mk/postgres.mk
+++ b/src/mk/postgres.mk
@@ -9,7 +9,7 @@
#
#
# IDENTIFICATION
-# $Header: /cvsroot/pgsql/src/mk/Attic/postgres.mk,v 1.4 1996/10/04 20:17:11 scrappy Exp $
+# $Header: /cvsroot/pgsql/src/mk/Attic/postgres.mk,v 1.5 1996/10/04 20:20:51 scrappy Exp $
#
#-------------------------------------------------------------------------
@@ -89,18 +89,6 @@ endef
include $(MKDIR)/../Makefile.global
-include $(MKDIR)/port/postgres.mk.$(PORTNAME)
-# The following is used as the arg list for signal handlers. Any ports
-# that take something other than an int argument should change this in
-# the port specific makefile. Note that variable names are required
-# because it is used in both the prototypes as well as the definitions.
-# Note also the long name. We expect that this won't collide with
-# other names causing compiler warnings.
-#ifndef SIGNAL_ARGS
-#define SIGNAL_ARGS int postgres_signal_arg
-#endif
-
-CFLAGS += -DSIGNAL_ARGS=$(SIGNAL_ARGS)
-
CURDIR:= $(shell pwd)
# This is where we put all the .o's and the generated files.