CVS: winex/server ptrace.c,1.20,1.21

[email protected]
Newsgroups gmane.comp.emulators.winex.cvs
Message-ID <[email protected]>
Subject: winex/server ptrace.c,1.20,1.21Update of /var/lib/cvsd/cvsroot/winex/server
In directory agravaine:/tmp/cvs-serv30981/server

Modified Files:
	ptrace.c 
Log Message:
Disable use of ptrace on the Mac pending mach threading merge


Index: ptrace.c
===================================================================
RCS file: /var/lib/cvsd/cvsroot/winex/server/ptrace.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- ptrace.c	27 Mar 2007 20:53:22 -0000	1.20
+++ ptrace.c	30 Mar 2007 15:53:39 -0000	1.21
@@ -61,7 +61,12 @@
 #define __WALL 0
 #endif
 
+#ifndef __APPLE__
 static const int use_ptrace = 1;  /* set to 0 to disable ptrace */
+#else
+static const int use_ptrace = 0;  /* don't do any ptracing on MacOS X - need alternate mechanisms using mach */
+#endif
+
 extern int alarming;
 
 #if !defined(linux)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.