[m-rev.] diff: enable par grades under cygwin

Peter Ross pro at missioncriticalit.com
Wed Oct 23 22:02:48 AEST 2002


Hi,


===================================================================


Estimated hours taken: 0.25
Branches: main

Enable the par grades under cygwin, as libpthread is now supported.

configure.in:
	Add -DMR_THREAD_SAFE to CFLAGS_FOR_THREADS.


Index: configure.in
===================================================================
RCS file: /home/mercury1/repository/mercury/configure.in,v
retrieving revision 1.331
diff -u -r1.331 configure.in
--- configure.in	23 Oct 2002 04:48:25 -0000	1.331
+++ configure.in	23 Oct 2002 12:00:56 -0000
@@ -1901,7 +1901,7 @@
 			*cl* | *CL*)	# cl is the Microsoft C compiler
 				CFLAGS_FOR_THREADS="-DMR_THREAD_SAFE -DWIN32_THREADS /MD" ;;
 			*)
-				CFLAGS_FOR_THREADS="" ;;
+				CFLAGS_FOR_THREADS="-DMR_THREAD_SAFE" ;;
 		esac
 		;;
 

--------------------------------------------------------------------------
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