]> granicus.if.org Git - postgresql/commitdiff
Moved the define of SIGNAL_ARGS that D'Arcy just created to config.h so that
authorMarc G. Fournier <scrappy@hub.org>
Fri, 4 Oct 1996 20:20:57 +0000 (20:20 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Fri, 4 Oct 1996 20:20:57 +0000 (20:20 +0000)
hopefully this sort of thing can eventually be determined using configure?

src/include/config.h
src/mk/postgres.mk

index 2191ffafdd42fe156edb597f4090a4150096c26b..be658ce0a8035cf0152f60d9fed6866c2778e28d 100644 (file)
 #  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
index 06ac466f50b8412b7533fb4eca5ad91639249a6a..25f9db90b992d8bc92f2c3e639ef45db856b0745 100644 (file)
@@ -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.