[m-rev.] trivial diff: backwards compatibility configuration macros

Simon Taylor stayl at cs.mu.OZ.AU
Thu Mar 14 15:31:38 AEDT 2002


Estimated hours taken: 0.1
Branches: main

runtime/mercury_conf_bootstrap.h:
	Don't define backwards compatibility versions of the
	configuration macros if MR_NO_BACKWARDS_COMPAT is defined.

Index: mercury_conf_bootstrap.h
===================================================================
RCS file: /home/mercury1/repository/mercury/runtime/mercury_conf_bootstrap.h,v
retrieving revision 1.4
diff -u -u -r1.4 mercury_conf_bootstrap.h
--- mercury_conf_bootstrap.h	20 Feb 2002 10:28:17 -0000	1.4
+++ mercury_conf_bootstrap.h	14 Mar 2002 04:28:09 -0000
@@ -14,7 +14,7 @@
 #ifndef MERCURY_CONF_BOOTSTRAP_H
 #define MERCURY_CONF_BOOTSTRAP_H
 
-#ifndef MR_NO_CONF_BACKWARDS_COMPAT
+#if !defined(MR_NO_CONF_BACKWARDS_COMPAT) && !defined(MR_NO_BACKWARDS_COMPAT)
 
 /*
 ** Header files.
@@ -291,6 +291,6 @@
   #define HAVE_DEV_PTMX 1
 #endif
 
-#endif /* !MR_NO_CONF_BACKWARDS_COMPAT */
+#endif /* !MR_NO_CONF_BACKWARDS_COMPAT && !MR_NO_BACKWARDS_COMPAT */
 
 #endif /* MERCURY_CONF_BOOTSTRAP_H */
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list