[m-dev.] for review: fix to mercury_context.h

Thomas Conway conway at cs.mu.OZ.AU
Fri Aug 27 10:42:30 AEST 1999


Hi

For whoever to review. I'll commit it now, since it only impacts
on code using parallel conjunction, and at the moment I'm probably
the only one. :-)

-- 
 Thomas Conway )O+     Every sword has two edges.
     Mercurian            <conway at cs.mu.oz.au>


runtime/mercury_context.h:
	fix the definition of MR_IF_THREAD_SAFE for !MR_THREAD_SAFE.

cvs diff: Diffing .
Index: mercury_context.h
===================================================================
RCS file: /home/staff/zs/imp/mercury/runtime/mercury_context.h,v
retrieving revision 1.10
diff -u -r1.10 mercury_context.h
--- mercury_context.h	1999/04/20 11:48:13	1.10
+++ mercury_context.h	1999/08/27 00:39:32
@@ -56,7 +56,7 @@
 #ifdef	MR_THREAD_SAFE
   #define MR_IF_THREAD_SAFE(x)	x
 #else
-  #define MR_IF_THREAD_SAFE(x)	((void) 0)
+  #define MR_IF_THREAD_SAFE(x)
 #endif
 
 /*
cvs diff: Diffing GETOPT
cvs diff: Diffing machdeps
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list